storagenode: estimation usage_at_rest
Change-Id: I0910ee19a21fdb1763b8cfacd0d56b7fb6a7039c
This commit is contained in:
parent
b4c9badab1
commit
5ef4d756a2
@ -274,7 +274,7 @@ export default class EstimationArea extends Vue {
|
|||||||
private get currentDiskSpace(): number {
|
private get currentDiskSpace(): number {
|
||||||
if (!this.$store.state.node.storageChartData) return 0;
|
if (!this.$store.state.node.storageChartData) return 0;
|
||||||
|
|
||||||
return this.$store.state.node.storageChartData.map(data => data.atRestTotal).reduce((previous, current) => previous + current, 0);
|
return this.$store.state.node.storageChartData.map(data => data.atRestTotal / 720).reduce((previous, current) => previous + current, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user