chore (client): don't make a new post as soon as you add descriptions

This commit is contained in:
naskya 2024-04-22 07:20:07 +09:00
parent 9a4988eaad
commit 9ced0d96ad
No known key found for this signature in database
GPG key ID: 712D413B3A9FED5C

View file

@ -1113,12 +1113,7 @@ async function post() {
}
}
isFirstPostAttempt = false;
// Continue if all files have alt-text added.
if (
files.value.some((f) => f.comment == null || f.comment.length === 0)
) {
return;
}
return;
}
}
@ -1144,12 +1139,7 @@ async function post() {
}
}
}
// Continue if all files have alt-text added.
if (
files.value.some((f) => f.comment == null || f.comment.length === 0)
) {
return;
}
return;
}
}