mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-26 05:38:46 +00:00
[autofix.ci] apply automated fixes
This commit is contained in:
+5
-2
@@ -10,7 +10,7 @@ import { DockerNetworkChart } from "./docker-network-chart";
|
|||||||
|
|
||||||
const defaultData = {
|
const defaultData = {
|
||||||
cpu: {
|
cpu: {
|
||||||
value: '0%',
|
value: "0%",
|
||||||
time: "",
|
time: "",
|
||||||
},
|
},
|
||||||
memory: {
|
memory: {
|
||||||
@@ -220,7 +220,10 @@ export const ContainerFreeMonitoring = ({
|
|||||||
<span className="text-sm text-muted-foreground">
|
<span className="text-sm text-muted-foreground">
|
||||||
Used: {currentData.cpu.value}
|
Used: {currentData.cpu.value}
|
||||||
</span>
|
</span>
|
||||||
<Progress value={parseInt(currentData.cpu.value.replace('%', ''), 10)} className="w-[100%]" />
|
<Progress
|
||||||
|
value={parseInt(currentData.cpu.value.replace("%", ""), 10)}
|
||||||
|
className="w-[100%]"
|
||||||
|
/>
|
||||||
<DockerCpuChart acummulativeData={acummulativeData.cpu} />
|
<DockerCpuChart acummulativeData={acummulativeData.cpu} />
|
||||||
</div>
|
</div>
|
||||||
</CardContent>
|
</CardContent>
|
||||||
|
|||||||
Reference in New Issue
Block a user