Handle customer balance id null on route change exception
This commit is contained in:
parent
38d3d49ecb
commit
0ba7ea86ed
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue