Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
bcspragu committed Jan 24, 2024
1 parent dad5da2 commit 1726d44
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions frontend/components/analysis/RunButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -73,19 +73,21 @@ const runAnalysis = async () => {
await startRun()
return
}
confirm({
header: tt('ConfirmationHeader'),
message: tt('ConfirmationMessage'),
icon: 'pi pi-copy',
position: 'center',
blockScroll: true,
reject: () => { clicked.value = false },
rejectLabel: tt('Cancel Run'),
rejectIcon: 'pi pi-times',
acceptLabel: tt('Run Anyway'),
accept: startRun,
acceptIcon: 'pi pi-check',
})
await new Promise((resolve, reject) => {
confirm({
header: tt('ConfirmationHeader'),
message: tt('ConfirmationMessage'),
icon: 'pi pi-copy',
position: 'center',
blockScroll: true,
reject: () => { clicked.value = false },
rejectLabel: tt('Cancel Run'),
rejectIcon: 'pi pi-times',
acceptLabel: tt('Run Anyway'),
accept: () => { startRun().then(resolve).catch(reject) },
acceptIcon: 'pi pi-check',
})
});

Check failure on line 90 in frontend/components/analysis/RunButton.vue

View workflow job for this annotation

GitHub Actions / frontend

Extra semicolon
}
const refreshAnalysisState = async () => {
const aid = analysisId.value
Expand Down

0 comments on commit 1726d44

Please sign in to comment.