fix(ui): graph period

This commit is contained in:
Shekar Siri 2024-10-11 10:35:45 +02:00
parent 87d45714b1
commit 15da91385d

View file

@ -334,7 +334,7 @@ export default class Widget {
}, []);
} else {
const updatedData: any = this.calculateTotalSeries(data);
_data['chart'] = getChartFormatter('period')(updatedData);
_data['chart'] = getChartFormatter(period)(updatedData);
_data['namesMap'] = Array.isArray(updatedData)
? updatedData
.map((i) => Object.keys(i))