We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b4eacb commit c23aff4Copy full SHA for c23aff4
portal-ui/src/screens/Console/Menu/LicenseBadge.tsx
@@ -20,17 +20,19 @@ import { AppState } from "../../../store";
20
import { Box } from "@mui/material";
21
import { CircleIcon } from "mds";
22
import { getLicenseConsent } from "../License/utils";
23
+import { registeredCluster } from "../../../config";
24
25
const LicenseBadge = () => {
26
const licenseInfo = useSelector(
27
(state: AppState) => state?.system?.licenseInfo
28
);
29
30
const isAgplAckDone = getLicenseConsent();
31
+ const clusterRegistered = registeredCluster();
32
33
const { plan = "" } = licenseInfo || {};
34
- if (plan || isAgplAckDone) {
35
+ if (plan || isAgplAckDone || clusterRegistered) {
36
return null;
37
}
38
0 commit comments