mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
@@ -77,11 +77,9 @@ const fieldDetail = useFieldDetailStore();
|
||||
const { editing } = storeToRefs(fieldDetail);
|
||||
|
||||
watch(
|
||||
[field, type],
|
||||
field,
|
||||
() => {
|
||||
if (!type.value) return;
|
||||
|
||||
fieldDetail.startEditing(collection.value, field.value, type.value);
|
||||
fieldDetail.startEditing(collection.value, field.value, type.value ?? undefined);
|
||||
},
|
||||
{ immediate: true }
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user