Handle customer balance id null on route change exception

This commit is contained in:
William Buezas 2024-03-13 09:33:07 -03:00
parent 38d3d49ecb
commit 0ba7ea86ed
1 changed files with 1 additions and 0 deletions

View File

@ -122,6 +122,7 @@ onBeforeMount(() => {
watch( watch(
() => route.params.id, () => route.params.id,
(newValue) => { (newValue) => {
if (!newValue) return;
userParams.clientId = newValue; userParams.clientId = newValue;
filter.where.clientFk = newValue; filter.where.clientFk = newValue;
getData(); getData();