We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff0c72c commit 7a9e716Copy full SHA for 7a9e716
1 file changed
src/lib/components/inventory/selected_item_info.ts
@@ -303,14 +303,14 @@ export class SelectedItemInfo extends FloatElement {
303
304
// If an item was listed, refresh the stall data
305
if (e.detail?.listingId) {
306
- this.refreshStallData();
+ this.refreshStallData(true);
307
}
308
309
310
- private refreshStallData() {
+ private refreshStallData(forceRefresh = false) {
311
if (g_ActiveInventory?.m_owner?.strSteamId) {
312
gStallFetcher
313
- .fetch({steam_id64: g_ActiveInventory.m_owner.strSteamId}, true)
+ .fetch({steam_id64: g_ActiveInventory.m_owner.strSteamId}, forceRefresh)
314
.then((stall) => (this.stall = stall))
315
.catch((error) => {
316
console.error('Failed to refresh stall data:', error);
0 commit comments