fix: dont compute module for private workspace sidebars
This commit is contained in:
parent
8064d4237a
commit
20e214c88c
1 changed files with 2 additions and 1 deletions
|
|
@ -51,7 +51,8 @@ class WorkspaceSidebar(Document):
|
|||
|
||||
def before_save(self):
|
||||
self.export_sidebar()
|
||||
self.set_module()
|
||||
if not self.for_user:
|
||||
self.set_module()
|
||||
|
||||
def export_sidebar(self):
|
||||
allow_export = (
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue