This commit is contained in:
Luiz Filipe 2022-08-16 02:30:51 -03:00
parent 36223cc334
commit 56bdcded97

View File

@ -102,11 +102,11 @@ export function GrossAnualChart({ title, subtitle, dataProps, label, dataset, ba
}, },
}; };
let labels: string[]; const labels: string[] = label;
//if (bruta) { //if (bruta) {
// labels = [`Até ${new Date().getFullYear()-1}`, `${new Date().getFullYear()}`] // labels = [`Até ${new Date().getFullYear()-1}`, `${new Date().getFullYear()}`]
//} else { //} else {
labels = label; // labels = label;
//} //}
const data: any = { const data: any = {