Skip to content

Commit

Permalink
Remove duplicate ref=op on License page buttons (#1724)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaankabalak committed Aug 14, 2023
1 parent 85fe853 commit b5a15ab
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions web-app/src/screens/Console/License/LicensePlans.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -329,8 +329,6 @@ const LicensePlans = ({ licenseInfo, operatorMode }: IRegisterStatus) => {
}
}, [isSmallScreen, currentPlan]);

const linkTracker = `?ref=${operatorMode ? "op" : "con"}`;

const featureList = FEATURE_ITEMS;
return (
<Fragment>
Expand Down Expand Up @@ -613,7 +611,7 @@ const LicensePlans = ({ licenseInfo, operatorMode }: IRegisterStatus) => {
})}
<Box className="button-box">
{getButton(
`https://slack.min.io${linkTracker}`,
`https://slack.min.io`,
"Join Slack",
"regular",
LICENSE_PLANS.COMMUNITY,
Expand Down Expand Up @@ -657,7 +655,7 @@ const LicensePlans = ({ licenseInfo, operatorMode }: IRegisterStatus) => {

<Box className="button-box">
{getButton(
`https://min.io/signup${linkTracker}`,
`https://min.io/signup`,
!PAID_PLANS.includes(currentPlan)
? "Subscribe"
: "Login to SUBNET",
Expand Down Expand Up @@ -712,7 +710,7 @@ const LicensePlans = ({ licenseInfo, operatorMode }: IRegisterStatus) => {
})}
<Box className="button-box">
{getButton(
`https://min.io/signup${linkTracker}`,
`https://min.io/signup`,
!PAID_PLANS.includes(currentPlan)
? "Subscribe"
: "Login to SUBNET",
Expand Down

0 comments on commit b5a15ab

Please sign in to comment.