mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-10-26 16:22:09 +00:00
fix(ui): compare version only if version is set (#18210)
(cherry picked from commit 3dc9abef451daad1914a496d156592cf8bcc88f5)
This commit is contained in:
parent
c9d1bdcdcd
commit
f71fd9ce19
@ -310,7 +310,8 @@ const NavBar = ({
|
||||
return;
|
||||
}
|
||||
const newVersion = await getVersion();
|
||||
if (version !== newVersion.version) {
|
||||
// Compare version only if version is set previously to have fair comparison
|
||||
if (version && version !== newVersion.version) {
|
||||
setShowVersionMissMatchAlert(true);
|
||||
}
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user