fix: show unique workspaces in sidebar

This commit is contained in:
Shariq Ansari 2022-09-03 15:07:24 +05:30
parent b9b016cfe1
commit 7331e3a7be

View file

@ -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);
});