From 61be4522016ab618483b92be875aea3106263aef Mon Sep 17 00:00:00 2001 From: ChaotiCryptidz Date: Mon, 10 Jan 2022 15:04:34 +0000 Subject: [PATCH] remove work on ssh --- src/ui/pages/Secrets/SecretsHome.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/ui/pages/Secrets/SecretsHome.tsx b/src/ui/pages/Secrets/SecretsHome.tsx index 48bc311..9d97b2c 100644 --- a/src/ui/pages/Secrets/SecretsHome.tsx +++ b/src/ui/pages/Secrets/SecretsHome.tsx @@ -7,7 +7,7 @@ import { route } from "preact-router"; import { sortedObjectMap } from "../../../utils"; import i18next from "i18next"; -const supportedMountTypes = ["kv", "totp", "transit", "cubbyhole", "ssh"]; +const supportedMountTypes = ["kv", "totp", "transit", "cubbyhole"]; export function isSupportedMount(mount: MountType): boolean { if (typeof mount != "object") return false; @@ -40,9 +40,6 @@ function MountLink(props: MountLinkProps): JSX.Element { } else if (mount.type == "transit") { linkText = `Transit - ${baseMount}`; mountPathType = "transit"; - } else if (mount.type == "ssh") { - linkText = `SSH - ${baseMount}`; - mountPathType = "ssh"; } const link = "/secrets/" + mountPathType + "/list/" + baseMount;