feat: auto refresh RQ job page
This commit is contained in:
parent
46df97c3f2
commit
4ae85b20db
1 changed files with 6 additions and 0 deletions
|
|
@ -22,5 +22,11 @@ frappe.listview_settings["RQ Job"] = {
|
|||
listview.page.set_indicator(__("Scheduler: Inactive"), "red");
|
||||
}
|
||||
});
|
||||
|
||||
setInterval(() => {
|
||||
if (!listview.list_view_settings.disable_auto_refresh) {
|
||||
listview.refresh();
|
||||
}
|
||||
}, 5000);
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue