Merge branch 'telemetry' into 'dev'

fix MW/h

See merge request kluppsoftware/smart-energia-web!120
This commit is contained in:
José Corte 2022-07-20 13:27:10 +00:00
commit 66ab194490
4 changed files with 6 additions and 6 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 103 KiB

After

Width:  |  Height:  |  Size: 126 KiB

View File

@ -29,7 +29,7 @@ export default function Header({name, admin, children}: headerInterface) {
!admin && profile_picture?
<Image src={profile_picture} height={100} width={108}/>
:
<Image src='https://kluppdevelopment.s3.sa-east-1.amazonaws.com/avatars/zcgw6O0FxZgxRmIs97WMcUddKurQJcIqSxBLStSc.png' height={75} width={108}/>
<Image src='/assets/marca1.png' height={75} width={108}/>
}
<div className='icon' >
<p>

View File

@ -92,9 +92,9 @@ export default function Dashboard({grossAnualGraph, grossAnualYears, grossMensal
<GraphCard title='Indicador de Custo' subtitle='Indicador de Custo - Valores em R$/MWh'>
<CostIndicatorChart title='' subtitle=''
data1={costIndicator.filter((value, index) => value.mes.slice(4, 8).includes('2021'))}
data1={costIndicator.filter((value, index) => value.mes.slice(0, 4).includes('2021'))}
// data1={graphData}
data2={costIndicator.filter((value, index) => value.mes.slice(4, 8).includes('2022'))}
data2={costIndicator.filter((value, index) => value.mes.slice(0, 4).includes('2022'))}
label={months}
miniature
/>

View File

@ -162,7 +162,7 @@ export default function economy({userName, anual, years, brutaMensal, yearsBruta
</RenderIf>
<RenderIf isTrue={economyMenu===3}>
<div style={{paddingLeft: '7%'}}>
<div style={{paddingLeft: '3%'}}>
<FormControl sx={{ m: 1, minWidth: 120, width: 200 }} size="small">
<InputLabel id="demo-select-small">Unidade</InputLabel>
<Select
@ -186,8 +186,8 @@ export default function economy({userName, anual, years, brutaMensal, yearsBruta
</div>
<section>
<CostIndicatorChart title='' subtitle=''
data1={indicatorDataState?.filter((value, index) => value.mes.slice(4, 8).includes('2021'))}
data2={indicatorDataState?.filter((value, index) => value.mes.slice(4, 8).includes('2022'))}
data1={indicatorDataState?.filter((value, index) => value.mes.slice(0, 4).includes('2021'))}
data2={indicatorDataState?.filter((value, index) => value.mes.slice(0, 4).includes('2022'))}
label={months}
/>
</section>