fix: media folder
This commit is contained in:
parent
e191e6d691
commit
ac5659eec4
@ -41,12 +41,10 @@ function hasCustomFolder(
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isMediaField(folderKey, field)) {
|
if (isMediaField(folderKey, field)) {
|
||||||
return false;
|
if (field[folderKey]) {
|
||||||
}
|
return true;
|
||||||
|
}
|
||||||
if (field[folderKey]) {
|
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ('files' in collection) {
|
if ('files' in collection) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user