fix refresh

This commit is contained in:
Lars Nolden
2026-09-14 10:01:57 +02:00
parent 46e02d95cb
commit f9e829e6ba
5 changed files with 78 additions and 38 deletions
+3 -1
View File
@@ -292,10 +292,12 @@ export function Classification({
setBusy(true);
setError("");
try {
// Refresh registry labels for the review, but let the server
// take its own snapshot so another write cannot race analysis.
acceptState(await request<State>("/api/state"));
const start = await request<PreviewProgress>(
"/api/reclassify/preview",
{
revision: state.revision,
from,
to,
model: model.trim(),