mirror of
https://github.com/gethomepage/homepage.git
synced 2026-01-14 13:12:09 +08:00
Fix dot status when exited (#2204)
This commit is contained in:
@@ -35,8 +35,10 @@ export default function KubernetesStatus({ service, style }) {
|
||||
|
||||
return (
|
||||
<div className={`w-auto text-center overflow-hidden ${backgroundClass} rounded-b-[3px] k8s-status`} title={statusTitle}>
|
||||
{style !== 'dot' && <div className={`text-[8px] font-bold ${colorClass} uppercase`}>{statusLabel}</div>}
|
||||
{style === 'dot' && <div className={`rounded-full h-3 w-3 ${colorClass}`}/>}
|
||||
{style !== 'dot' ?
|
||||
<div className={`text-[8px] font-bold ${colorClass} uppercase`}>{statusLabel}</div> :
|
||||
<div className={`rounded-full h-3 w-3 ${colorClass}`}/>
|
||||
}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user