feat(web): clear failed jobs (#5423)

* add clear failed jobs button

* refactor: clean up code

* chore: open api

---------

Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
This commit is contained in:
Clement OngandJason Rasmussen authored and GitHub committed 2023-12-05 02:07:20 +00:00
1 parent 933c24ea6f
commit 982183600d
13 files changed
+55 -9

No files matched your search

+2 -1
View File
@@ -1785,7 +1785,8 @@ export const JobCommand = {
Start: 'start',
Pause: 'pause',
Resume: 'resume',
Empty: 'empty'
Empty: 'empty',
ClearFailed: 'clear-failed'
} as const;
export type JobCommand = typeof JobCommand[keyof typeof JobCommand];