Skip to content

Commit

Permalink
fix(minor): refresh tabs with sections (frappe#17182)
Browse files Browse the repository at this point in the history
  • Loading branch information
rmehta authored Jun 14, 2022
1 parent ec2aadb commit 5624996
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frappe/public/js/frappe/form/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -293,9 +293,6 @@ frappe.ui.form.Layout = class Layout {
// refresh sections
this.refresh_sections();

// refresh tabs
this.is_tabbed_layout() && this.refresh_tabs();

if (this.frm) {
// collapse sections
this.refresh_section_collapse();
Expand Down Expand Up @@ -325,6 +322,9 @@ frappe.ui.form.Layout = class Layout {
section.addClass("empty-section");
}
});

// refresh tabs
this.is_tabbed_layout() && this.refresh_tabs();
}

refresh_tabs() {
Expand Down

0 comments on commit 5624996

Please sign in to comment.