1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-02-21 13:57:56 +03:00

F #5755: fix color in memory (#2614)

This commit is contained in:
Jorge Miguel Lobo Escalona 2023-05-18 16:27:19 +02:00 committed by GitHub
parent 0e7e50cdbe
commit d06251981e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -86,7 +86,7 @@ export const getAllocatedInfo = (host) => {
colorCpu:
MAX_CPU > TOTAL_CPU ? 'error' : MAX_CPU < TOTAL_CPU ? 'success' : '',
colorMem:
MAX_MEM > TOTAL_MEM ? 'error' : MAX_MEM > TOTAL_MEM ? 'success' : '',
MAX_MEM > TOTAL_MEM ? 'error' : MAX_MEM < TOTAL_MEM ? 'success' : '',
}
}