fix refresh
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user