From 211ab3fd9d900e1d712cd4723b191ff8184f8403 Mon Sep 17 00:00:00 2001 From: Kaan Kabalak Date: Mon, 1 May 2023 13:50:01 -0700 Subject: [PATCH] Fix incorrect logo appearing for Standard License holders (#2797) --- portal-ui/src/config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/portal-ui/src/config.ts b/portal-ui/src/config.ts index 551de4d24..8baa9f489 100644 --- a/portal-ui/src/config.ts +++ b/portal-ui/src/config.ts @@ -25,11 +25,11 @@ type LogoVar = "simple" | "AGPL" | "standard" | "enterprise"; export const getLogoVar = (): LogoVar => { let logoVar: LogoVar = "AGPL"; - switch (MinIOPlan) { + switch (MinIOPlan.toLowerCase()) { case "enterprise": logoVar = "enterprise"; break; - case "STANDARD": + case "standard": logoVar = "standard"; break; default: