client: fix post-form.vue

This fixes an issue where the post form hangs after posting.
This commit is contained in:
Norm 2022-10-04 13:04:07 -04:00
parent 1592420406
commit 4ab9312392
Signed by untrusted user: norm
GPG key ID: 7123E30E441E80DE

View file

@ -523,7 +523,7 @@ function saveDraft() {
&& (!useCw || initialDraftData.cw === cw)
&& initialDraftData.visibility === visibility
&& initialDraftData.localOnly === localOnly
&& initialDraftData.files.each((file, i) => file.id === files[i].id)
&& initialDraftData.files.every((file, i) => file.id === files[i].id)
// initial state is always poll == null
&& poll == null
) {