mirror of
https://github.com/directus/directus.git
synced 2026-01-30 04:38:13 -05:00
Fix type error
This commit is contained in:
@@ -403,7 +403,8 @@ export default defineComponent({
|
||||
? (props.value.find(
|
||||
(edit) =>
|
||||
isPlainObject(edit) &&
|
||||
edit[languagesRelation.value!.field] === language[languagesPrimaryKeyField.value]
|
||||
(edit as Record<string, any>)[languagesRelation.value!.field] ===
|
||||
language[languagesPrimaryKeyField.value]
|
||||
) as Record<string, any>)
|
||||
: {};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user