Update MkPostForm.vue
This commit is contained in:
parent
542ecffadb
commit
8a4cb8163b
|
@ -275,7 +275,7 @@ const cwTextLength = computed((): number => {
|
|||
const maxCwTextLength = 100;
|
||||
|
||||
const canPost = computed((): boolean => {
|
||||
return !props.mock && !posting.value && !posted.value && !uploader.uploading.value && uploader.readyForUpload.value &&
|
||||
return !props.mock && !posting.value && !posted.value && !uploader.uploading.value && (uploader.items.value.length === 0 || uploader.readyForUpload.value) &&
|
||||
(
|
||||
1 <= textLength.value ||
|
||||
1 <= files.value.length ||
|
||||
|
|
Loading…
Reference in New Issue