fix: show unique workspaces in sidebar
This commit is contained in:
parent
b9b016cfe1
commit
7331e3a7be
1 changed files with 1 additions and 0 deletions
|
|
@ -117,6 +117,7 @@ frappe.views.Workspace = class Workspace {
|
|||
(page) => page.parent_page == "" || page.parent_page == null
|
||||
);
|
||||
}
|
||||
root_pages = root_pages.uniqBy((d) => d.title);
|
||||
this.build_sidebar_section(category, root_pages);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue