mirror of
https://github.com/hashicorp/vault.git
synced 2026-06-08 16:24:51 -04:00
hold off on running total changes
This commit is contained in:
parent
65a4c5b103
commit
8dc79a626d
1 changed files with 6 additions and 7 deletions
|
|
@ -72,18 +72,17 @@ export default class RunningTotal extends Component {
|
|||
|
||||
get showSingleMonth() {
|
||||
if (this.args.lineChartData?.length === 1) {
|
||||
const totalData = this.args.runningTotals;
|
||||
const monthData = this.args?.lineChartData[0];
|
||||
return {
|
||||
total: {
|
||||
total: totalData.clients,
|
||||
entityClients: totalData.entity_clients,
|
||||
nonEntityClients: totalData.non_entity_clients,
|
||||
total: monthData.clients,
|
||||
entityClients: monthData.entity_clients,
|
||||
nonEntityClients: monthData.non_entity_clients,
|
||||
},
|
||||
new: {
|
||||
total: monthData.new_clients.clients || 0,
|
||||
entityClients: monthData.new_clients.entity_clients || 0,
|
||||
nonEntityClients: monthData.new_clients.non_entity_clients || 0,
|
||||
total: monthData.new_clients.clients,
|
||||
entityClients: monthData.new_clients.entity_clients,
|
||||
nonEntityClients: monthData.new_clients.non_entity_clients,
|
||||
},
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue