fix(qa): ISSUE-002 follow-up — only report rowing uploads done when all succeed

CreateRowing emitted "done" even when every file failed, so the admin
panel's new "Saved." notice sat under the failure rows, and the Gym
widget closed its modal before the errors could be read.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-10-19 19:55:17 +01:00
co-authored by Claude Opus 5.5
parent 3d504da94c
commit ae961c1cd3
+3 -1
View File
@@ -54,7 +54,9 @@ async function submit() {
);
images.value = [];
emit("done");
// Only a clean run counts as done: hosts close or confirm on "done", which
// would hide or contradict the per-file failure rows above.
if (results.value.every((r) => r.ok)) emit("done");
}
</script>