diff --git a/portal-ui/src/screens/Console/License/License.tsx b/portal-ui/src/screens/Console/License/License.tsx index 9d622757f..06276b48a 100644 --- a/portal-ui/src/screens/Console/License/License.tsx +++ b/portal-ui/src/screens/Console/License/License.tsx @@ -526,7 +526,9 @@ const License = ({ classes, operatorMode }: ILicenseProps) => { className={classes.button} target="_blank" rel="noopener noreferrer" - href="https://subnet.min.io/support/?ref=op" + href={`https://subnet.min.io/support/?ref=${ + operatorMode ? "op" : "con" + }`} > Login to SUBNET @@ -572,7 +574,9 @@ const License = ({ classes, operatorMode }: ILicenseProps) => {
{

{ } onClick={(e) => { e.preventDefault(); - window.open(button.link, "_blank"); + window.open( + `${button.link}/?ref=${ + operatorMode ? "op" : "con" + }`, + "_blank" + ); }} > {currentPlanID !== index && index > 0 diff --git a/portal-ui/src/screens/Console/Menu/Menu.tsx b/portal-ui/src/screens/Console/Menu/Menu.tsx index 681026c34..1b3de990c 100644 --- a/portal-ui/src/screens/Console/Menu/Menu.tsx +++ b/portal-ui/src/screens/Console/Menu/Menu.tsx @@ -46,6 +46,7 @@ import { UsersIcon, WarpIcon, } from "../../../icons"; +import LibraryBooksIcon from "@material-ui/icons/LibraryBooks"; import { clearSession } from "../../../common/utils"; import LicenseIcon from "../../../icons/LicenseIcon"; import LogoutIcon from "../../../icons/LogoutIcon"; @@ -444,6 +445,21 @@ const Menu = ({ userLoggedIn, classes, pages, operatorMode }: IMenuProps) => { return null; } })} + { + e.preventDefault(); + window.open( + `https://docs.min.io/?ref=${operatorMode ? "op" : "con"}`, + "_blank" + ); + }} + > + + + + +