From 6b95de0feb132ddcd36d3fd540c1af929e5c59ee Mon Sep 17 00:00:00 2001 From: Nitwel Date: Fri, 4 Feb 2022 14:43:05 +0100 Subject: [PATCH] fix items not loaded in relational modal (#11431) --- app/src/interfaces/translations/translations.vue | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app/src/interfaces/translations/translations.vue b/app/src/interfaces/translations/translations.vue index 5db56c1ca7..37bc9d8fdd 100644 --- a/app/src/interfaces/translations/translations.vue +++ b/app/src/interfaces/translations/translations.vue @@ -289,12 +289,7 @@ export default defineComponent({ watch( () => props.value, (newVal, oldVal) => { - if ( - newVal && - !isEqual(newVal, oldVal) && - newVal.every((item) => typeof item === 'string' || typeof item === 'number') && - isUndo.value === false - ) { + if (newVal && !oldVal && !isEqual(newVal, oldVal) && isUndo.value === false) { loadItems(); }