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,14 +1113,9 @@ 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;
}
}
}
if (
defaultStore.state.showNoAltTextWarning &&
@ -1144,14 +1139,9 @@ async function post() {
}
}
}
// Continue if all files have alt-text added.
if (
files.value.some((f) => f.comment == null || f.comment.length === 0)
) {
return;
}
}
}
const processedText = preprocess(text.value);