Skip to content

Commit

Permalink
Do not click when clicking notify
Browse files Browse the repository at this point in the history
  • Loading branch information
joao-vasconcelos committed Nov 15, 2023
1 parent de43535 commit ebf8663
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default function JobsExplorerTableRowItemActionNotify({ jobData }) {
if (jobData.status !== 'ready') return;
try {
setIsLoading(true);
await API({ service: 'jobs', resourceId: jobData._id, operation: 'delete', method: 'DELETE' });
await API({ service: 'jobs', resourceId: jobData._id, operation: 'notify', method: 'GET' });
allJobsMutate();
setIsLoading(false);
} catch (err) {
Expand Down

0 comments on commit ebf8663

Please sign in to comment.