|
|
@ -205,7 +205,7 @@ export function useViewData( |
|
|
|
} as any, |
|
|
|
} as any, |
|
|
|
{ cancelToken: controller.value.token }, |
|
|
|
{ cancelToken: controller.value.token }, |
|
|
|
) |
|
|
|
) |
|
|
|
: await fetchSharedViewData({ sortsArr: sorts.value, filtersArr: nestedFilters.value }) |
|
|
|
: await fetchSharedViewData({ sortsArr: sorts.value, filtersArr: nestedFilters.value, where: where?.value }) |
|
|
|
} catch (error) { |
|
|
|
} catch (error) { |
|
|
|
// if the request is canceled, then do nothing
|
|
|
|
// if the request is canceled, then do nothing
|
|
|
|
if (error.code === 'ERR_CANCELED') { |
|
|
|
if (error.code === 'ERR_CANCELED') { |
|
|
|