mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-07-12 17:35:21 +02:00
refactor: uypdate
This commit is contained in:
@@ -251,7 +251,9 @@ export const DockerMonitoring = ({
|
||||
</span>
|
||||
<Progress
|
||||
value={
|
||||
// @ts-ignore
|
||||
(convertMemoryToBytes(currentData.memory.value.used) /
|
||||
// @ts-ignore
|
||||
convertMemoryToBytes(currentData.memory.value.total)) *
|
||||
100
|
||||
}
|
||||
@@ -260,6 +262,7 @@ export const DockerMonitoring = ({
|
||||
<DockerMemoryChart
|
||||
acummulativeData={acummulativeData.memory}
|
||||
memoryLimitGB={
|
||||
// @ts-ignore
|
||||
convertMemoryToBytes(currentData.memory.value.total) /
|
||||
1024 ** 3
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user