From 9cc7d437c65aae242faf368b8c08ad994f5619e4 Mon Sep 17 00:00:00 2001 From: svetaStrech Date: Mon, 1 Jan 2024 15:22:42 +0200 Subject: [PATCH] Indication for update - only in oss --- .../administration/softwareUpdates/index.js | 24 ++++++++----------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/ui_src/src/domain/administration/softwareUpdates/index.js b/ui_src/src/domain/administration/softwareUpdates/index.js index 9a8da31b1..bac33a54e 100644 --- a/ui_src/src/domain/administration/softwareUpdates/index.js +++ b/ui_src/src/domain/administration/softwareUpdates/index.js @@ -35,8 +35,8 @@ import { Checkbox } from 'antd'; import ImgUploader from './imgUploader'; import { LOCAL_STORAGE_USER_TYPE, LOCAL_STORAGE_ACCOUNT_ID } from 'const/localStorageConsts'; import Support from 'components/sideBar/support'; -import FullLogoWhite from "assets/images/white-logo.svg"; -import FullLogo from "assets/images/fullLogo.svg"; +import FullLogoWhite from 'assets/images/white-logo.svg'; +import FullLogo from 'assets/images/fullLogo.svg'; function SoftwareUpates({}) { const [state, dispatch] = useContext(Context); @@ -152,26 +152,22 @@ function SoftwareUpates({}) {
-
!isCloud() && isUpdateAvailable && window.open(latestVersionUrl, '_blank')}> +
!isCloud() && isUpdateAvailable && window.open(latestVersionUrl, '_blank')}> - logo + logo {isCloud() ? (

Account ID :

{localStorage.getItem(LOCAL_STORAGE_ACCOUNT_ID)} - +
) : ( - + <> + + {isUpdateAvailable &&
} + )} - {isUpdateAvailable &&
}