From e1e2bdef2aa3c0cd0e44ae5e0c6781e0097ab670 Mon Sep 17 00:00:00 2001 From: Jason Date: Tue, 24 Feb 2026 10:23:18 +0800 Subject: [PATCH] fix(about): show update badge instead of green check when newer version available --- src/components/settings/AboutSection.tsx | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/src/components/settings/AboutSection.tsx b/src/components/settings/AboutSection.tsx index 9a7df5491..343ba52e6 100644 --- a/src/components/settings/AboutSection.tsx +++ b/src/components/settings/AboutSection.tsx @@ -525,15 +525,14 @@ export function AboutSection({ isPortable }: AboutSectionProps) { {isLoadingTools || loadingTools[toolName] ? ( ) : tool?.version ? ( -
- {tool.latest_version && - tool.version !== tool.latest_version && ( - - {tool.latest_version} - - )} + tool.latest_version && + tool.version !== tool.latest_version ? ( + + {tool.latest_version} + + ) : ( -
+ ) ) : ( )}