Close search modal after add actions

This commit is contained in:
Codex
2026-08-09 13:26:36 +02:00
parent 11f43bba05
commit 95c9eca99f
4 changed files with 11 additions and 1 deletions
+2
View File
@@ -747,6 +747,7 @@ INDEX_HTML = r"""<!doctype html>
})
});
setNotice(data.message || "Added to watchlist.");
closeSelectionModal();
} catch (error) {
setNotice(error.message);
}
@@ -771,6 +772,7 @@ INDEX_HTML = r"""<!doctype html>
try {
await api("/api/queue", { method: "POST", body: JSON.stringify(payload) });
setNotice("Added to queue. Open Queue to monitor progress.");
closeSelectionModal();
} catch (error) {
setNotice(error.message);
}