web: Refresh dashboard after terminal task completes (#173)
Some checks failed
CI / browser-tests (push) Has been cancelled
CI / test (macos-latest, 3.11) (push) Has been cancelled
CI / test (macos-latest, 3.12) (push) Has been cancelled
CI / test (macos-latest, 3.13) (push) Has been cancelled
CI / test (ubuntu-latest, 3.11) (push) Has been cancelled
CI / test (ubuntu-latest, 3.12) (push) Has been cancelled
CI / test (ubuntu-latest, 3.13) (push) Has been cancelled
CI / lint (push) Has been cancelled
Update README.md / update_readme (push) Has been cancelled
Release Drafter / update_release_draft (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled

This commit is contained in:
Bas Nijholt
2026-01-20 01:01:34 +00:00
committed by GitHub
parent e1a8ceb9e6
commit 596a05e39d

View File

@@ -194,6 +194,7 @@ function initTerminal(elementId, taskId) {
term.write(event.data);
if (event.data.includes('[Done]') || event.data.includes('[Failed]')) {
localStorage.removeItem(taskKey);
refreshDashboard();
}
};
ws.onclose = () => setTerminalLoading(false);