fix(ui): deduplicate store fetches with null-guards and mutex (#25943)

This commit is contained in:
G30
2026-06-17 00:07:11 +02:00
committed by GitHub
parent 22f2fe1ffb
commit ee3a49a88d
6 changed files with 113 additions and 114 deletions
@@ -150,7 +150,8 @@
selectedTab = 'overview';
chatList = [];
allChatsLoaded = false;
selectRange(selectedRange);
selectedRange = '30d';
loadOverview(30);
}
</script>
@@ -51,7 +51,8 @@
// Load history when model changes and modal is shown
$: if (show && model?.id) {
selectRange(selectedRange);
selectedRange = '30d';
loadHistory(30);
}
// Use top_tags from backend response (already computed)