mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-03-21 18:58:03 +00:00
* 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:
committed by
GitHub
parent
65a250e2a4
commit
aa2cc04084
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user