From 57461043b06f3c5f4f86312a93ffc7086c4db8ac Mon Sep 17 00:00:00 2001 From: Anso Date: Fri, 24 Apr 2026 23:36:19 -0400 Subject: [PATCH] fix(frontend): clear sidebar update dot after toolbar Update click (#763) The toolbar Update button calls updateStack(), which refreshed containers and stacks but never re-fetched the image-updates list. The sidebar's blue "update available" dot therefore stayed visible until the 5-minute polling interval. The right-click context menu path (executeStackActionByFile, action='update') already calls fetchImageUpdates() on success; mirror that call here so both paths behave the same. --- frontend/src/components/EditorLayout.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/components/EditorLayout.tsx b/frontend/src/components/EditorLayout.tsx index 58d06ef0..de14d3c9 100644 --- a/frontend/src/components/EditorLayout.tsx +++ b/frontend/src/components/EditorLayout.tsx @@ -1431,6 +1431,7 @@ export default function EditorLayout() { throw new Error(errText || 'Update failed'); } toast.success('Stack updated successfully!'); + fetchImageUpdates(); // Refresh containers after update if (selectedFile === stackFile) { const containersRes = await apiFetch(`/stacks/${stackName}/containers`);