mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-26 18:06:03 +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;
|
return;
|
||||||
}
|
}
|
||||||
const newVersion = await getVersion();
|
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);
|
setShowVersionMissMatchAlert(true);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user