mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 18:28:12 +00:00
Update UpgradeProjectAlert.tsx
This commit is contained in:
@@ -92,7 +92,6 @@ export const UpgradeProjectAlert = ({ project }: UpgradeProjectAlertProps): JSX.
|
|||||||
(currentStatus === null && statusIsLoading)) &&
|
(currentStatus === null && statusIsLoading)) &&
|
||||||
projectStatus?.status !== "FAILED";
|
projectStatus?.status !== "FAILED";
|
||||||
|
|
||||||
if (process.env.NEXT_PUBLIC_SHOW_UPGRADE_PROJECT !== "true") return null;
|
|
||||||
if (project.version !== "v1") return null;
|
if (project.version !== "v1") return null;
|
||||||
if (membership.role !== "admin") return null;
|
if (membership.role !== "admin") return null;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user