Fix: resolve incorrect upgrade recommendation (#577) (#645)

* added more info to features.md

* added details to FEATURES.md

* .

* reset to last commit

* Update FEATURES.md

* fix: resolve incorrect upgrade recommendation (#577)
This commit is contained in:
S Kumar Dhananjaya
2026-01-17 22:11:09 +05:30
committed by GitHub
parent 65a250e2a4
commit aa2cc04084

View File

@@ -14,6 +14,7 @@ import LinkWithSearchParams from "../components/LinkWithSearchParams";
import apiService from "../API/apiService";
import { useAppContext } from "../context/AppContext";
import { useEffect, useEffectEvent } from "react";
import { isNewerVersion } from "../utils";
export default function Header() {
const { clusterMode, setClusterMode } = useAppContext();
@@ -124,7 +125,9 @@ export default function Header() {
]}
/>
</li>
{"v" + statusData?.CurVer !== statusData?.LatestVer ? (
{statusData?.CurVer &&
statusData?.LatestVer &&
isNewerVersion(statusData.CurVer, statusData.LatestVer) ? (
<li className="min-w-[130px]">
<a
href="https://github.com/komodorio/helm-dashboard/releases"