From f2508caf2a21232da9b929b90d1422842e58b8d1 Mon Sep 17 00:00:00 2001 From: Jarlem Red de Peralta Date: Wed, 23 Nov 2022 14:37:58 +0800 Subject: [PATCH] fix(page): reset selected IDs --- pages/tag/list.page.vue | 1 + pages/user/list.page.vue | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pages/tag/list.page.vue b/pages/tag/list.page.vue index 4633e29e3..8218e2341 100644 --- a/pages/tag/list.page.vue +++ b/pages/tag/list.page.vue @@ -168,6 +168,7 @@ async function refetchTags() { } } receivedErrors.value = [] + selectedIDs.value = [] await fetchTagInfos() } diff --git a/pages/user/list.page.vue b/pages/user/list.page.vue index eb7496eae..7fda3005d 100644 --- a/pages/user/list.page.vue +++ b/pages/user/list.page.vue @@ -80,7 +80,7 @@ import loadRemainingResource from "$@/helpers/load_remaining_resource" import resourceTabInfos from "@/resource_management/resource_tab_infos" import loadRemainingRoles from "@/helpers/loaders/load_remaining_roles" import extractAllErrorDetails from "$@/helpers/extract_all_error_details" -import makeExistenceOperators from "@/resource_management/make_existence_operators" +import makeExistenceOperators from "@/resource_management/helpers/make_existence_operators" import loadRemainingDepartments from "@/helpers/loaders/load_remaining_departments" import { user as permissionGroup } from "$/permissions/permission_list" @@ -271,6 +271,7 @@ async function resetUsersList() { } } receivedErrors.value = [] + selectedIDs.value = [] await fetchUserInfo() }