misc: addressed main page ui/ux concerns

This commit is contained in:
Sheen Capadngan
2024-07-03 18:32:21 +08:00
parent bc14153bb3
commit a45453629c
4 changed files with 6 additions and 6 deletions
@@ -425,7 +425,8 @@ export const SecretOverviewPage = () => {
});
}
}
const query: Record<string, string> = { ...router.query, env: slug };
const query: Record<string, string> = { ...router.query, env: slug, searchFilter };
const envIndex = visibleEnvs.findIndex((el) => slug === el.slug);
if (envIndex !== -1) {
router.push({