diff --git a/src/components/common/VnLog.vue b/src/components/common/VnLog.vue index c96cc2b25..e9805815e 100644 --- a/src/components/common/VnLog.vue +++ b/src/components/common/VnLog.vue @@ -71,32 +71,8 @@ const filter = { }; const paginate = ref(); -const actions = ref(); -const changeInput = ref(); const searchInput = ref(); -const userRadio = ref(); -const userSelect = ref(); -const dateFrom = ref(); -const dateTo = ref(); const selectedFilters = ref({}); -const checkboxOptions = ref({ - insert: { - label: 'Creates', - selected: false, - }, - update: { - label: 'Edits', - selected: false, - }, - delete: { - label: 'Deletes', - selected: false, - }, - select: { - label: 'Accesses', - selected: false, - }, -}); let validations = models; let pointRecord = ref(null); @@ -298,15 +274,7 @@ function exprBuilder(param, value) { async function clearFilter() { selectedFilters.value = {}; byRecord.value = false; - userSelect.value = undefined; searchInput.value = undefined; - changeInput.value = undefined; - dateFrom.value = undefined; - dateTo.value = undefined; - userRadio.value = undefined; - Object.keys(checkboxOptions.value).forEach( - (opt) => (checkboxOptions.value[opt].selected = false), - ); await applyFilter(); } diff --git a/src/components/common/VnLogFilter.vue b/src/components/common/VnLogFilter.vue index 2c3f0e388..dd34d5c99 100644 --- a/src/components/common/VnLogFilter.vue +++ b/src/components/common/VnLogFilter.vue @@ -112,6 +112,7 @@ function getActions() { :info="t('tooltips.search')" dense filled + data-cy="vnLog-search" />