()
| 441 | } |
| 442 | |
| 443 | async function handleStop() { |
| 444 | try { |
| 445 | await api('/api/stop', { method: 'POST' }); |
| 446 | } catch (error) { |
| 447 | setErrorMessage(error instanceof Error ? error.message : String(error)); |
| 448 | } |
| 449 | } |
| 450 | |
| 451 | async function handleApprovePendingRun() { |
| 452 | try { |