mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-21 00:17:46 +00:00
Move yaml check to use nodejs, limit versions to 0.147.0 and add UI option to redirect to the new upgrade tool
This commit is contained in:
@@ -13,6 +13,7 @@ import {
|
||||
faInfoCircle,
|
||||
faServer,
|
||||
faSignOut,
|
||||
faToolbox,
|
||||
faUser,
|
||||
faUsers
|
||||
} from "@fortawesome/free-solid-svg-icons";
|
||||
@@ -104,6 +105,11 @@ export const INFISICAL_SUPPORT_OPTIONS = [
|
||||
<FontAwesomeIcon key={5} className="pr-4 text-sm" icon={faUsers} />,
|
||||
"Instance Admins",
|
||||
() => "server-admins"
|
||||
],
|
||||
[
|
||||
<FontAwesomeIcon key={6} className="pr-4 text-sm" icon={faToolbox} />,
|
||||
"Version Upgrade Tool",
|
||||
() => "/upgrade-path"
|
||||
]
|
||||
] as const;
|
||||
|
||||
@@ -345,6 +351,9 @@ export const Navbar = () => {
|
||||
if (url === "server-admins" && isInfisicalCloud()) {
|
||||
return null;
|
||||
}
|
||||
if (url === "upgrade-path" && isInfisicalCloud()) {
|
||||
return null;
|
||||
}
|
||||
return (
|
||||
<DropdownMenuItem key={url as string}>
|
||||
{url === "server-admins" ? (
|
||||
|
||||
Reference in New Issue
Block a user