mirror of
https://github.com/directus/directus.git
synced 2026-01-26 19:28:13 -05:00
Apply cloneDeep to relations in FieldDetailStore (#9711)
This commit is contained in:
@@ -106,7 +106,7 @@ export const useFieldDetailStore = defineStore({
|
||||
this.field = cloneDeep(fieldsStore.getField(collection, field)!);
|
||||
this.localType = getLocalTypeForField(collection, field)!;
|
||||
|
||||
const relations = relationsStore.getRelationsForField(collection, field);
|
||||
const relations = cloneDeep(relationsStore.getRelationsForField(collection, field));
|
||||
|
||||
// o2m relation is the same regardless of type
|
||||
this.relations.o2m = relations.find(
|
||||
|
||||
Reference in New Issue
Block a user