This commit is contained in:
parent
d95350a8eb
commit
94c0cccb1e
|
@ -29,8 +29,8 @@ export function useFilterParams(key) {
|
||||||
orders.value = orderObject;
|
orders.value = orderObject;
|
||||||
}
|
}
|
||||||
|
|
||||||
function setUserParams(watchedParams) {
|
function setUserParams(watchedParams = {}) {
|
||||||
if (!watchedParams || Object.keys(watchedParams).length == 0) {
|
if (Object.keys(watchedParams).length == 0) {
|
||||||
params.value = {};
|
params.value = {};
|
||||||
orders.value = {};
|
orders.value = {};
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue