Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/lib/components/inventory/selected_item_info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down