Fix eslint

This commit is contained in:
Isaac Connor 2021-03-18 16:41:12 -04:00
parent 86e7c44087
commit 70e61740d3
1 changed files with 3 additions and 1 deletions

View File

@ -271,7 +271,9 @@ function reloadWebSite(ndx) {
}
function takeSnapshot() {
monitor_ids = monitorData.map( monitor=> { return 'monitor_ids[]='+monitor.id; });
monitor_ids = monitorData.map((monitor)=>{
return 'monitor_ids[]='+monitor.id;
});
window.location = '?view=snapshot&action=create&'+monitor_ids.join('&');
}