From aae881c24a1fb7ac372981f07aae7b29976f2b25 Mon Sep 17 00:00:00 2001 From: carlossa Date: Tue, 13 Aug 2024 12:59:22 +0200 Subject: [PATCH] fix(account_card): redirection --- src/pages/Account/Card/AccountCard.vue | 3 +-- src/pages/Account/Role/Card/RoleCard.vue | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/pages/Account/Card/AccountCard.vue b/src/pages/Account/Card/AccountCard.vue index a76d549a5..a9857b283 100644 --- a/src/pages/Account/Card/AccountCard.vue +++ b/src/pages/Account/Card/AccountCard.vue @@ -13,10 +13,9 @@ const { t } = useI18n(); search-data-key="AccountUsers" :searchbar-props="{ url: 'VnUsers/preview', - redirect: !!customRouteRedirectName, - customRouteRedirectName, label: t('account.search'), info: t('account.searchInfo'), + searchUrl: 'table', }" /> diff --git a/src/pages/Account/Role/Card/RoleCard.vue b/src/pages/Account/Role/Card/RoleCard.vue index 0c6e3aca0..ba98b9c19 100644 --- a/src/pages/Account/Role/Card/RoleCard.vue +++ b/src/pages/Account/Role/Card/RoleCard.vue @@ -12,8 +12,6 @@ const { t } = useI18n(); search-data-key="AccountRoles" :searchbar-props="{ url: 'VnRoles', - redirect: !!customRouteRedirectName, - customRouteRedirectName, label: t('role.searchRoles'), info: t('role.searchInfo'), }"