mirror of
https://github.com/directus/directus.git
synced 2026-01-29 00:27:59 -05:00
Prevent 400 error on translations load for to-be-created items (#7513)
Fixes #7477
This commit is contained in:
@@ -275,6 +275,7 @@ export default defineComponent({
|
||||
async function fetchKeyMap() {
|
||||
if (!props.value) return;
|
||||
if (keyMap.value) return;
|
||||
if (!existingPrimaryKeys.value?.length) return;
|
||||
|
||||
const collection = translationsRelation.value?.collection;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user