Skip to content

Commit 211ab3f

Browse files
authored
Fix incorrect logo appearing for Standard License holders (#2797)
1 parent 90c8ea7 commit 211ab3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

portal-ui/src/config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ type LogoVar = "simple" | "AGPL" | "standard" | "enterprise";
2525

2626
export const getLogoVar = (): LogoVar => {
2727
let logoVar: LogoVar = "AGPL";
28-
switch (MinIOPlan) {
28+
switch (MinIOPlan.toLowerCase()) {
2929
case "enterprise":
3030
logoVar = "enterprise";
3131
break;
32-
case "STANDARD":
32+
case "standard":
3333
logoVar = "standard";
3434
break;
3535
default:

0 commit comments

Comments
 (0)