mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-25 09:28:23 +00:00
fix(ui): compare version only if version is set (#18210)
This commit is contained in:
parent
ca15c410d9
commit
3dc9abef45
@ -311,7 +311,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