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:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user