Self-hosted AI workspace.
Python
Fix #5870: stale skills panel data on tab reopen (#5876)
Samy378518f6dfb9
diff --git a/static/js/skills.js b/static/js/skills.jsindex 84974d446..b45403570 100644--- a/static/js/skills.js+++ b/static/js/skills.js@@ -83,11 +83,9 @@ export async function loadSkills(cascade = false) {// Play the domino-in entrance on this load (set when the tab is opened,// not for the silent re-loads after an edit/delete).if (cascade) _cascadeNext = true;- if (cascade && loaded && !_loadPromise && _playSkillsCascade()) {- _cascadeNext = false;- updateCount();- return;- }+ // Always re-fetch when the tab is explicitly opened — the cascade+ // animation is handled inside renderSkillsList() via _cascadeNext.+ // Skipping the fetch here caused stale data on panel close/reopen (#5870).if (_loadPromise) return _loadPromise;_loadPromise = (async () => {try {