From 19c377ad2abe33430f0e6314c6c7a5c603a14724 Mon Sep 17 00:00:00 2001 From: tnfAngel <57068341+tnfAngel@users.noreply.github.com> Date: Thu, 24 Oct 2024 19:53:41 +0100 Subject: [PATCH 1/2] Fix join slack button --- web-app/src/screens/Console/License/LicensePlans.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web-app/src/screens/Console/License/LicensePlans.tsx b/web-app/src/screens/Console/License/LicensePlans.tsx index 3231e93209..d4bd6aa766 100644 --- a/web-app/src/screens/Console/License/LicensePlans.tsx +++ b/web-app/src/screens/Console/License/LicensePlans.tsx @@ -213,7 +213,7 @@ const LicensePlans = ({ licenseInfo }: IRegisterStatus) => { }} > {getButton( - `https://min.io/signup`, + element.planType === "commercial" ? `https://min.io/signup` : `https://slack.min.io`, element.planType === "commercial" ? "Subscribe" : "Join Slack", element.planType === "commercial" ? "callAction" : "regular", )} From b61723fc4cf262fc1210124ebb8355018f3e16ac Mon Sep 17 00:00:00 2001 From: tnfAngel <57068341+tnfAngel@users.noreply.github.com> Date: Thu, 24 Oct 2024 20:24:58 +0100 Subject: [PATCH 2/2] run prettier on changes --- web-app/src/screens/Console/License/LicensePlans.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web-app/src/screens/Console/License/LicensePlans.tsx b/web-app/src/screens/Console/License/LicensePlans.tsx index d4bd6aa766..ad3fbbfbf3 100644 --- a/web-app/src/screens/Console/License/LicensePlans.tsx +++ b/web-app/src/screens/Console/License/LicensePlans.tsx @@ -213,7 +213,9 @@ const LicensePlans = ({ licenseInfo }: IRegisterStatus) => { }} > {getButton( - element.planType === "commercial" ? `https://min.io/signup` : `https://slack.min.io`, + element.planType === "commercial" + ? `https://min.io/signup` + : `https://slack.min.io`, element.planType === "commercial" ? "Subscribe" : "Join Slack", element.planType === "commercial" ? "callAction" : "regular", )}