Skip to content

Commit 401ad8e

Browse files
committed
Fix handleDrop missing closing brackets in app.js
1 parent 14002a8 commit 401ad8e

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

js/app.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,11 @@ async function handleDrop(event, newStage) {
380380
if (jobId) loadPipeline(jobId);
381381

382382
triggerAutomation('application_status_changed', appId, { stage: newStage });
383-
383+
triggerAutomation('application_status_changed', appId, { stage: newStage });
384+
} catch (err) {
385+
showToast(err.message, 'error');
386+
}
387+
}
384388

385389
// ==========================================
386390
// INTERVIEWS
@@ -572,3 +576,8 @@ function triggerAutomation(event, id, data) {
572576
// Automation trigger placeholder
573577
console.log('Automation:', event, id, data);
574578
}
579+
580+
function triggerAutomation(event, id, data) {
581+
// Automation trigger placeholder
582+
console.log('Automation:', event, id, data);
583+
}

0 commit comments

Comments
 (0)