From 251b0280b667f8f283fc489c9f1ec8d3dba1cd92 Mon Sep 17 00:00:00 2001 From: MasterPhooey Date: Sat, 25 Apr 2026 08:22:26 -0500 Subject: [PATCH] ui fix --- static/index.html | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/static/index.html b/static/index.html index aa65071..86244bd 100644 --- a/static/index.html +++ b/static/index.html @@ -1618,6 +1618,12 @@ }).join(""); } + function rerenderReviewLists() { + renderCapturedItems(uiState.captured); + renderSampleLibrary(uiState.samples); + syncButtons(); + } + async function refreshSamples() { const data = await api("/api/samples", { method: "GET" }); renderSampleLibrary(data); @@ -1649,7 +1655,7 @@ alert(error.message); } finally { uiState.reviewBusy = false; - syncButtons(); + rerenderReviewLists(); } } @@ -2383,7 +2389,7 @@ alert(error.message); } finally { uiState.reviewBusy = false; - syncButtons(); + rerenderReviewLists(); } } @@ -2661,7 +2667,7 @@ alert("Clear failed: " + error.message); } finally { uiState.reviewBusy = false; - syncButtons(); + rerenderReviewLists(); } });