Fix searchbar redirection bug

This commit is contained in:
Kevin Martinez 2024-01-28 15:21:28 -03:00
parent 5b490e1705
commit 5449b34fa0
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}
}