From 1fecb6b954d4ef9cdec163008afd6ab1b9176e8d Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Wed, 21 Feb 2024 14:55:52 +0100 Subject: [PATCH] refs #6772 feat: refresh shelving.basic-data --- src/pages/Shelving/Card/ShelvingForm.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/Shelving/Card/ShelvingForm.vue b/src/pages/Shelving/Card/ShelvingForm.vue index 238879bd4..abba2a580 100644 --- a/src/pages/Shelving/Card/ShelvingForm.vue +++ b/src/pages/Shelving/Card/ShelvingForm.vue @@ -11,8 +11,8 @@ import VnSubToolbar from 'src/components/ui/VnSubToolbar.vue'; const { t } = useI18n(); const route = useRoute(); const router = useRouter(); -const shelvingId = route.params?.id || null; -const isNew = Boolean(!shelvingId); +const shelvingId = ref(route.params?.id || null); +const isNew = Boolean(!shelvingId.value); const defaultInitialData = { parkingFk: null, priority: null, @@ -75,7 +75,7 @@ const onSave = (shelving, newShelving) => { auto-load />