mirror of
https://github.com/directus/directus.git
synced 2026-02-13 05:45:26 -05:00
Fix field setup not generating m2o field
This commit is contained in:
@@ -700,7 +700,7 @@ function initLocalStore(
|
||||
}
|
||||
|
||||
function fieldExists(collection: string, field: string) {
|
||||
return collectionExists(collection) && fieldsStore.getField(collection, field) !== null;
|
||||
return collectionExists(collection) && !!fieldsStore.getField(collection, field);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user