+ {license.token ?
+
+ Customer
+
+ {license?.customer}
+
+
+
+ Plan
+
+ {license?.plan}
+
+
+
+ Seats
+
+ {license?.seats}
+
+
+
+ Expire at
+
+ {formatDateYMD(license.expireAt, locationSettings.locale)}
+
+
+
: You do not have a registered Unleash Enterprise License.
}
+
+
+
+
+
+
+ );
+};
diff --git a/frontend/src/component/banners/externalBanners/ExternalBanners.tsx b/frontend/src/component/banners/externalBanners/ExternalBanners.tsx
index a8c768c2e17d..37f2b53b7c6e 100644
--- a/frontend/src/component/banners/externalBanners/ExternalBanners.tsx
+++ b/frontend/src/component/banners/externalBanners/ExternalBanners.tsx
@@ -1,10 +1,12 @@
import { Banner } from 'component/banners/Banner/Banner';
+import { useLicenseCheck } from 'hooks/api/getters/useLicense/useLicense';
import useUiConfig from 'hooks/api/getters/useUiConfig/useUiConfig';
import { useVariant } from 'hooks/useVariant';
import { IBanner } from 'interfaces/banner';
export const ExternalBanners = () => {
- const { uiConfig } = useUiConfig();
+ const { uiConfig, isEnterprise } = useUiConfig();
+ const licenseInfo = useLicenseCheck();
const bannerVariantFromMessageBannerFlag = useVariant