forked from p15670423/monkey
UI: Fix logic in IslandLogDownloadButton as per changes to IslandLog resource
This commit is contained in:
parent
96bae42388
commit
eb20c9403d
|
@ -48,7 +48,7 @@ export const IslandLogDownloadButton = ({ url, variant = 'primary'}: Props) => {
|
|||
.then(res => res.json())
|
||||
.then(res => {
|
||||
let filename = 'Island_log';
|
||||
let logContent = (res['log_file']);
|
||||
let logContent = res;
|
||||
download(logContent, filename, 'text/plain');
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue