Browse Source

fix: show unique workspaces in sidebar

(cherry picked from commit 7331e3a7be)
version-14
Shariq Ansari 2 years ago
committed by Mergify
parent
commit
1285d84aa7
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      frappe/public/js/frappe/views/workspace/workspace.js

+ 1
- 0
frappe/public/js/frappe/views/workspace/workspace.js View File

@@ -117,6 +117,7 @@ frappe.views.Workspace = class Workspace {
(page) => page.parent_page == "" || page.parent_page == null (page) => page.parent_page == "" || page.parent_page == null
); );
} }
root_pages = root_pages.uniqBy((d) => d.title);
this.build_sidebar_section(category, root_pages); this.build_sidebar_section(category, root_pages);
}); });




Loading…
Cancel
Save