From 5449b34fa0b1bb6b6f53a9d3263305701aa54c6e Mon Sep 17 00:00:00 2001 From: Kevin Martinez Date: Sun, 28 Jan 2024 15:21:28 -0300 Subject: [PATCH] Fix searchbar redirection bug --- src/components/ui/VnSearchbar.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ui/VnSearchbar.vue b/src/components/ui/VnSearchbar.vue index 8220aa3db..af6fedfa9 100644 --- a/src/components/ui/VnSearchbar.vue +++ b/src/components/ui/VnSearchbar.vue @@ -93,7 +93,7 @@ async function search() { const [firstRow] = rows; await router.push({ path: `${module.path}/${firstRow.id}` }); } else if (route.matched.length > 3) { - await router.push({ path: `/${module.path}` }); + await router.push({ path: `${module.path}` }); arrayData.updateStateParams(); } }