mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 16:46:31 +00:00
fix: filemanger
This commit is contained in:
parent
7a281a578c
commit
cba122e921
@ -84,7 +84,7 @@ const InternalFileManager = (props) => {
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
if (value) {
|
||||
if (value && Object.keys(value).length > 0) {
|
||||
const opts = (Array.isArray(value) ? value : value ? [value] : []).map((option) => {
|
||||
const label = option[fieldNames.label];
|
||||
return {
|
||||
|
Loading…
Reference in New Issue
Block a user