mirror of
https://github.com/directus/directus.git
synced 2026-01-28 18:57:56 -05:00
Fix auto-fill of directus_files in relational setup (#6555)
Fixes #6487
This commit is contained in:
@@ -700,7 +700,7 @@ function initLocalStore(collection: string, field: string, type: typeof localTyp
|
||||
|
||||
if (type === 'files') {
|
||||
nextTick(() => {
|
||||
state.relations[1].related_collection = state.relations[1].related_collection ?? 'directus_files';
|
||||
state.relations[1].related_collection = state.relations[1].related_collection || 'directus_files';
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user