chore (client): don't make a new post as soon as you add descriptions
This commit is contained in:
parent
9a4988eaad
commit
9ced0d96ad
1 changed files with 2 additions and 12 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue