Prechádzať zdrojové kódy

FE: Fix latest version is null (#3833)

Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
David Bejanyan 2 rokov pred
rodič
commit
f22c910f5c

+ 3 - 1
kafka-ui-react-app/src/components/Version/Version.tsx

@@ -15,7 +15,9 @@ const Version: React.FC = () => {
     <S.Wrapper>
       {!isLatestRelease && (
         <S.OutdatedWarning
-          title={`Your app version is outdated. Current latest version is ${versionTag}`}
+          title={`Your app version is outdated. Latest version is ${
+            versionTag || 'UNKNOWN'
+          }`}
         >
           <WarningIcon />
         </S.OutdatedWarning>