From 0ba7ea86edc16722aca18ff1b57b5f63a889bacf Mon Sep 17 00:00:00 2001 From: wbuezas Date: Wed, 13 Mar 2024 09:33:07 -0300 Subject: [PATCH] Handle customer balance id null on route change exception --- src/pages/Customer/Card/CustomerBalance.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/Customer/Card/CustomerBalance.vue b/src/pages/Customer/Card/CustomerBalance.vue index ec836935c..2de0c37e6 100644 --- a/src/pages/Customer/Card/CustomerBalance.vue +++ b/src/pages/Customer/Card/CustomerBalance.vue @@ -122,6 +122,7 @@ onBeforeMount(() => { watch( () => route.params.id, (newValue) => { + if (!newValue) return; userParams.clientId = newValue; filter.where.clientFk = newValue; getData();