1
0
Fork 0

remove work on ssh

This commit is contained in:
ChaotiCryptidz 2022-01-10 15:04:34 +00:00
parent a894623402
commit 61be452201

View file

@ -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;