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