diff --git a/src/lib/components/inventory/selected_item_info.ts b/src/lib/components/inventory/selected_item_info.ts index 64996e91..91938c1c 100644 --- a/src/lib/components/inventory/selected_item_info.ts +++ b/src/lib/components/inventory/selected_item_info.ts @@ -308,14 +308,14 @@ export class SelectedItemInfo extends FloatElement { // If an item was listed, refresh the stall data if (e.detail?.listingId) { - this.refreshStallData(); + this.refreshStallData(true); } } - private refreshStallData() { + private refreshStallData(forceRefresh = false) { if (g_ActiveInventory?.m_owner?.strSteamId) { gStallFetcher - .fetch({steam_id64: g_ActiveInventory.m_owner.strSteamId}, true) + .fetch({steam_id64: g_ActiveInventory.m_owner.strSteamId}, forceRefresh) .then((stall) => (this.stall = stall)) .catch((error) => { console.error('Failed to refresh stall data:', error);