fix: wrong condition
This commit is contained in:
parent
6396618674
commit
e31e1706e6
1 changed files with 1 additions and 1 deletions
|
|
@ -137,7 +137,7 @@ async function submitFileForm(
|
||||||
:error="fileFormError"
|
:error="fileFormError"
|
||||||
:fileNameLabel="fileNameLabel"
|
:fileNameLabel="fileNameLabel"
|
||||||
:disableFields="
|
:disableFields="
|
||||||
fileFormData.metadata && Object.keys(fileFormData.metadata).length > 1
|
fileFormData.metadata && Object.keys(fileFormData.metadata).length > 0
|
||||||
? ['file', 'title', 'author']
|
? ['file', 'title', 'author']
|
||||||
: []
|
: []
|
||||||
"
|
"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue