feat: add monitor list warning color
This commit is contained in:
parent
116c69b4ec
commit
52455f4ea2
@ -75,9 +75,10 @@ export const MonitorList: React.FC = React.memo(() => {
|
|||||||
>
|
>
|
||||||
<div>
|
<div>
|
||||||
<span
|
<span
|
||||||
className={
|
className={clsx(
|
||||||
'bg-green-400 min-w-[62px] p-0.5 rounded-full text-white inline-block text-center'
|
'min-w-[62px] p-0.5 rounded-full text-white inline-block text-center',
|
||||||
}
|
upPercent === 100 ? 'bg-green-400' : 'bg-amber-400'
|
||||||
|
)}
|
||||||
>
|
>
|
||||||
{/* {monitor.monthOnlineRate * 100}% */}
|
{/* {monitor.monthOnlineRate * 100}% */}
|
||||||
{upPercent}%
|
{upPercent}%
|
||||||
|
Loading…
Reference in New Issue
Block a user