refactor: simplify version information display in CredentialsSettings component

This commit is contained in:
simos
2025-11-14 12:54:26 +01:00
parent ad219c8716
commit 05b2b59e23

View File

@@ -419,17 +419,14 @@ function CredentialsSettings() {
{/* Version Information */} {/* Version Information */}
<div className="pt-6 border-t border-border/50"> <div className="pt-6 border-t border-border/50">
<div className="flex items-center justify-between text-xs italic text-muted-foreground/60"> <div className="flex items-center justify-between text-xs italic text-muted-foreground/60">
<div className="flex items-center gap-2"> <a
<span>Claude Code UI</span> href={releaseInfo?.htmlUrl || 'https://github.com/siteboon/claudecodeui/releases'}
<a target="_blank"
href={releaseInfo?.htmlUrl || 'https://github.com/siteboon/claudecodeui/releases'} rel="noopener noreferrer"
target="_blank" className="hover:text-muted-foreground transition-colors"
rel="noopener noreferrer" >
className="hover:text-muted-foreground transition-colors" v{version}
> </a>
v{version}
</a>
</div>
{updateAvailable && latestVersion && ( {updateAvailable && latestVersion && (
<a <a
href={releaseInfo?.htmlUrl || 'https://github.com/siteboon/claudecodeui/releases'} href={releaseInfo?.htmlUrl || 'https://github.com/siteboon/claudecodeui/releases'}