diff --git a/src/components/ui/VnFilterPanel.vue b/src/components/ui/VnFilterPanel.vue index 931767516..cebdc4bbf 100644 --- a/src/components/ui/VnFilterPanel.vue +++ b/src/components/ui/VnFilterPanel.vue @@ -132,17 +132,6 @@ async function search(evt) { } } -async function reload() { - isLoading.value = true; - const params = Object.values(userParams.value).filter((param) => param); - store.skip = 0; - store.page = 1; - await arrayData.fetch({ append: false }); - if (!$props.showAll && !params.length) store.data = []; - isLoading.value = false; - emit('refresh'); -} - async function clearFilters() { try { isLoading.value = true; @@ -231,32 +220,18 @@ function sanitizer(params) { -
- - {{ t('Remove filters') }} - - - {{ t('Refresh') }} - -
+ + {{ t('Remove filters') }} +