diff --git a/portal-ui/src/screens/Console/License/License.tsx b/portal-ui/src/screens/Console/License/License.tsx index 41027456ee..eb08900323 100644 --- a/portal-ui/src/screens/Console/License/License.tsx +++ b/portal-ui/src/screens/Console/License/License.tsx @@ -19,21 +19,12 @@ import { useSelector } from "react-redux"; import { Theme } from "@mui/material/styles"; import createStyles from "@mui/styles/createStyles"; import { Box, LinearProgress } from "@mui/material"; -import clsx from "clsx"; import Grid from "@mui/material/Grid"; -import Button from "@mui/material/Button"; -import Typography from "@mui/material/Typography"; import { SubnetInfo } from "./types"; import { containerForHeader } from "../Common/FormComponents/common/styleLibrary"; import PageHeader from "../Common/PageHeader/PageHeader"; -import LicenseModal from "./LicenseModal"; import api from "../../../common/api"; -import { - ArrowRightLink, - HelpIconFilled, - LicenseIcon, - LoginMinIOLogo, -} from "../../../icons"; +import { ArrowRightLink, HelpIconFilled, LoginMinIOLogo } from "../../../icons"; import { hasPermission } from "../../../common/SecureComponent"; import { CONSOLE_UI_RESOURCE, @@ -46,6 +37,7 @@ import PageLayout from "../Common/Layout/PageLayout"; import RegistrationStatusBanner from "../Support/RegistrationStatusBanner"; import makeStyles from "@mui/styles/makeStyles"; import { selOpMode } from "../../../systemSlice"; +import LicenseModal from "./LicenseModal"; const useStyles = makeStyles((theme: Theme) => createStyles({ @@ -124,7 +116,6 @@ const License = () => { useState(false); const [licenseModal, setLicenseModal] = useState(false); - const [licenseInfo, setLicenseInfo] = useState(); const [currentPlanID, setCurrentPlanID] = useState(0); const [loadingLicenseInfo, setLoadingLicenseInfo] = useState(false); @@ -349,99 +340,11 @@ const License = () => { currentPlanID={currentPlanID} setActivateProductModal={setActivateProductModal} /> - - - - - - setLicenseModal(false)} - /> - - - - - -
GNU Affero General Public License
-
- Version 3. 19 November 2007 -
-
- - agpl - -
- - - - The GNU Affero General Public License is a free, copyleft - license for software and other kinds of works, specifically - designed to ensure cooperation with the Community in the - case of network server software. - -
- - The licenses for most software and other practical works are - designed to take away your freedom to share and change the - works. By contrast, our General Public Licenses are intended - to guarantee your freedom to share and change all versions - of a program--to make sure it remains free software for all - its users. - -
- -
-
-
-
-
-
+ setLicenseModal(false)} + /> ); }; diff --git a/portal-ui/src/screens/Console/License/utils.tsx b/portal-ui/src/screens/Console/License/utils.tsx index c20f0d367b..0bcd0abf0a 100644 --- a/portal-ui/src/screens/Console/License/utils.tsx +++ b/portal-ui/src/screens/Console/License/utils.tsx @@ -134,7 +134,7 @@ export const COMMUNITY_PLAN_FEATURES = [ return ( @@ -232,7 +232,7 @@ export const STANDARD_PLAN_FEATURES = [ @@ -358,7 +358,7 @@ export const ENTERPRISE_PLAN_FEATURES = [