fix MW/h
This commit is contained in:
parent
4e7c4934a5
commit
5c18684b4d
Binary file not shown.
|
Before Width: | Height: | Size: 103 KiB After Width: | Height: | Size: 126 KiB |
@ -29,7 +29,7 @@ export default function Header({name, admin, children}: headerInterface) {
|
|||||||
!admin && profile_picture?
|
!admin && profile_picture?
|
||||||
<Image src={profile_picture} height={100} width={108}/>
|
<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' >
|
<div className='icon' >
|
||||||
<p>
|
<p>
|
||||||
|
|||||||
@ -92,9 +92,9 @@ export default function Dashboard({grossAnualGraph, grossAnualYears, grossMensal
|
|||||||
|
|
||||||
<GraphCard title='Indicador de Custo' subtitle='Indicador de Custo - Valores em R$/MWh'>
|
<GraphCard title='Indicador de Custo' subtitle='Indicador de Custo - Valores em R$/MWh'>
|
||||||
<CostIndicatorChart title='' subtitle=''
|
<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}
|
// 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}
|
label={months}
|
||||||
miniature
|
miniature
|
||||||
/>
|
/>
|
||||||
|
|||||||
@ -162,7 +162,7 @@ export default function economy({userName, anual, years, brutaMensal, yearsBruta
|
|||||||
</RenderIf>
|
</RenderIf>
|
||||||
|
|
||||||
<RenderIf isTrue={economyMenu===3}>
|
<RenderIf isTrue={economyMenu===3}>
|
||||||
<div style={{paddingLeft: '7%'}}>
|
<div style={{paddingLeft: '3%'}}>
|
||||||
<FormControl sx={{ m: 1, minWidth: 120, width: 200 }} size="small">
|
<FormControl sx={{ m: 1, minWidth: 120, width: 200 }} size="small">
|
||||||
<InputLabel id="demo-select-small">Unidade</InputLabel>
|
<InputLabel id="demo-select-small">Unidade</InputLabel>
|
||||||
<Select
|
<Select
|
||||||
@ -186,8 +186,8 @@ export default function economy({userName, anual, years, brutaMensal, yearsBruta
|
|||||||
</div>
|
</div>
|
||||||
<section>
|
<section>
|
||||||
<CostIndicatorChart title='' subtitle=''
|
<CostIndicatorChart title='' subtitle=''
|
||||||
data1={indicatorDataState?.filter((value, index) => value.mes.slice(4, 8).includes('2021'))}
|
data1={indicatorDataState?.filter((value, index) => value.mes.slice(0, 4).includes('2021'))}
|
||||||
data2={indicatorDataState?.filter((value, index) => value.mes.slice(4, 8).includes('2022'))}
|
data2={indicatorDataState?.filter((value, index) => value.mes.slice(0, 4).includes('2022'))}
|
||||||
label={months}
|
label={months}
|
||||||
/>
|
/>
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user