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,12 +1113,7 @@ async function post() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
isFirstPostAttempt = false;
|
isFirstPostAttempt = false;
|
||||||
// Continue if all files have alt-text added.
|
return;
|
||||||
if (
|
|
||||||
files.value.some((f) => f.comment == null || f.comment.length === 0)
|
|
||||||
) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1144,12 +1139,7 @@ async function post() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Continue if all files have alt-text added.
|
return;
|
||||||
if (
|
|
||||||
files.value.some((f) => f.comment == null || f.comment.length === 0)
|
|
||||||
) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue