fix: sider
This commit is contained in:
parent
e439c02561
commit
be1c68c07d
1 changed files with 2 additions and 2 deletions
|
|
@ -32,10 +32,10 @@ class BackgroundJobs {
|
|||
this.remove_failed_button = this.page.add_inner_button(__("Remove Failed Jobs"), () => {
|
||||
frappe.call({
|
||||
method: 'frappe.core.page.background_jobs.background_jobs.remove_failed_jobs',
|
||||
callback: res => {
|
||||
callback: () => {
|
||||
this.refresh_jobs();
|
||||
}
|
||||
})
|
||||
});
|
||||
});
|
||||
|
||||
$(frappe.render_template('background_jobs_outer')).appendTo(this.page.body);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue