Update UpgradeProjectAlert.tsx

This commit is contained in:
Daniel Hougaard
2024-02-16 17:34:06 +01:00
parent 9f9849ccfd
commit 23e198d891

View File

@@ -92,7 +92,6 @@ export const UpgradeProjectAlert = ({ project }: UpgradeProjectAlertProps): JSX.
(currentStatus === null && statusIsLoading)) &&
projectStatus?.status !== "FAILED";
if (process.env.NEXT_PUBLIC_SHOW_UPGRADE_PROJECT !== "true") return null;
if (project.version !== "v1") return null;
if (membership.role !== "admin") return null;