Merge pull request #18025 from shariquerik/show-unique-workspaces
This commit is contained in:
commit
344fdadeae
2 changed files with 2 additions and 0 deletions
|
|
@ -138,6 +138,7 @@ class Workspace(Document):
|
|||
def disable_saving_as_public():
|
||||
return (
|
||||
frappe.flags.in_install
|
||||
or frappe.flags.in_uninstall
|
||||
or frappe.flags.in_patch
|
||||
or frappe.flags.in_test
|
||||
or frappe.flags.in_fixtures
|
||||
|
|
|
|||
|
|
@ -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