Comentário do botão CSV EPORT

pull/20/head
adriano 2022-08-18 12:18:42 -03:00
parent aaf15a1847
commit 76bc672314
1 changed files with 38 additions and 30 deletions

View File

@ -667,24 +667,32 @@ const Report = () => {
{reportOption === '1' &&
<div>
<Button style={{display: "none"}}
{/* <Button style={{ display: "none" }}
variant="contained"
color="primary"
onClick={(e) => {
handleCSVMessages()
}}
>
{"CSV ALL"}
</Button>
> */}
<div>
<CSVLink
data={dataCSV}
headers={columns}
filename={'Relatorio_detalhado_atendimento_atendentes.csv'}
target={'_blank'}
ref={csvLink} />
</div>
{/* <Button
variant="contained"
color="primary"
onClick={(e) => {
handleCSVMessages()
}}
>
{"CSV ALL"}
</Button> */}
<div>
<CSVLink
data={dataCSV}
headers={columns}
filename={'Relatorio_detalhado_atendimento_atendentes.csv'}
target={'_blank'}
ref={csvLink} />
</div>
</div>
}