fix(form): hide sidebar element when sidebar is hidden
This commit is contained in:
parent
76770e1494
commit
0f032bd7ca
1 changed files with 2 additions and 0 deletions
|
|
@ -609,6 +609,8 @@ frappe.ui.form.Form = class FrappeForm {
|
|||
toolbar: this.toolbar,
|
||||
});
|
||||
this.sidebar.make();
|
||||
} else {
|
||||
this.page.sidebar.hide();
|
||||
}
|
||||
|
||||
// clear layout message
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue