Changed License plans validation to not allow AGPL as a registered plan (#3385)

Signed-off-by: Benjamin Perez <benjamin@bexsoft.net>
This commit is contained in:
Alex
2024-06-13 14:36:08 -06:00
committed by GitHub
parent f4d98a4910
commit 57ba17a12e

View File

@@ -68,13 +68,5 @@ export const getLogoApplicationVariant =
export const registeredCluster = (): boolean => {
const plan = getLogoVar();
return [
"AGPL",
"simple",
"standard",
"enterprise",
"new",
"enterpriseos",
"enterpriseosvertical",
].includes(plan || "AGPL");
return ["standard", "enterprise", "enterpriseos"].includes(plan || "AGPL");
};