mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-19 02:25:07 +00:00
improvement: remove overview page and re-vamp secret dashboard
This commit is contained in:
@@ -71,9 +71,16 @@ export const SecretManagerLayout = () => {
|
||||
<Menu>
|
||||
<MenuGroup title="Resources">
|
||||
<Link
|
||||
to="/projects/secret-management/$projectId/overview"
|
||||
to={
|
||||
currentWorkspace.environments.length
|
||||
? "/projects/secret-management/$projectId/secrets/$envSlug"
|
||||
: "/projects/secret-management/$projectId/overview"
|
||||
}
|
||||
params={{
|
||||
projectId: currentWorkspace.id
|
||||
projectId: currentWorkspace.id,
|
||||
...(currentWorkspace.environments.length
|
||||
? { envSlug: currentWorkspace.environments[0]?.slug }
|
||||
: {})
|
||||
}}
|
||||
>
|
||||
{({ isActive }) => (
|
||||
|
||||
Reference in New Issue
Block a user