mirror of
https://github.com/directus/directus.git
synced 2026-01-30 06:58:09 -05:00
fix items not loaded in relational modal (#11431)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user