1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-03 21:10:05 +00:00

feat(log): put download log icon into log tab

This commit is contained in:
Yury Shkoda
2023-04-26 16:10:04 +03:00
parent a38a9f9c3d
commit 777b3a55be
2 changed files with 16 additions and 21 deletions

View File

@@ -265,25 +265,6 @@ const LogComponent = (props: LogComponentProps) => {
</pre>
</div>
)}
<div
style={{
display: 'flex',
justifyContent: 'center',
marginTop: 10
}}
>
<Button
onClick={(evt: SyntheticEvent) => {
download(evt, clearErrorsAndWarningsHtmlWrapping(logBody))
}}
variant="contained"
color="primary"
startIcon={<FileDownloadIcon />}
>
download entire log
</Button>
</div>
</>
)
}