forked from FoundKeyGang/FoundKey
client: fix post-form.vue
This fixes an issue where the post form hangs after posting.
This commit is contained in:
parent
1592420406
commit
4ab9312392
1 changed files with 1 additions and 1 deletions
|
@ -523,7 +523,7 @@ function saveDraft() {
|
||||||
&& (!useCw || initialDraftData.cw === cw)
|
&& (!useCw || initialDraftData.cw === cw)
|
||||||
&& initialDraftData.visibility === visibility
|
&& initialDraftData.visibility === visibility
|
||||||
&& initialDraftData.localOnly === localOnly
|
&& 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
|
// initial state is always poll == null
|
||||||
&& poll == null
|
&& poll == null
|
||||||
) {
|
) {
|
||||||
|
|
Loading…
Reference in a new issue