remove work on ssh
This commit is contained in:
parent
a894623402
commit
61be452201
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue