mirror of
https://github.com/TurTaskProject/TurTaskWeb.git
synced 2025-12-19 05:54:07 +01:00
Fix order of donut chart data
This commit is contained in:
parent
75f194386f
commit
bd946bce94
@ -13,8 +13,8 @@ export function DonutChartGraph() {
|
||||
const completedTask = response.data.total_completed_tasks || 0;
|
||||
|
||||
const donutData = [
|
||||
{ name: "Completed task", count: totalTask },
|
||||
{ name: "Total task", count: completedTask },
|
||||
{ name: "Completed task", count: completedTask},
|
||||
{ name: "Total task", count: totalTask },
|
||||
];
|
||||
|
||||
setDonutData(donutData);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user