fix: return promise from super().refresh (#20116)

This commit is contained in:
Devin Slauenwhite 2023-02-22 06:07:17 -05:00 committed by GitHub
parent cecc34d15e
commit 6e3bfb06c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -304,7 +304,7 @@ frappe.views.ListView = class ListView extends frappe.views.BaseList {
}
refresh(refresh_header = false) {
super.refresh().then(() => {
return super.refresh().then(() => {
this.render_header(refresh_header);
this.update_checkbox();
this.update_url_with_filters();