mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-12-18 10:16:46 +00:00
Update virtual-machines.tsx
This commit is contained in:
parent
fc5ff1782b
commit
3b22273f5a
@ -161,10 +161,10 @@ const getProgressColor = (percent: number): string => {
|
||||
}
|
||||
|
||||
const getModalProgressColor = (percent: number): string => {
|
||||
if (percent >= 95) return "bg-red-500"
|
||||
if (percent >= 86) return "bg-orange-500"
|
||||
if (percent >= 71) return "bg-yellow-500"
|
||||
return "bg-blue-500"
|
||||
if (percent >= 95) return "[&>div]:bg-red-500"
|
||||
if (percent >= 86) return "[&>div]:bg-orange-500"
|
||||
if (percent >= 71) return "[&>div]:bg-yellow-500"
|
||||
return "[&>div]:bg-blue-500"
|
||||
}
|
||||
|
||||
export function VirtualMachines() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user