fix: dont compute module for private workspace sidebars

This commit is contained in:
sokumon 2026-02-04 00:36:55 +05:30
parent 8064d4237a
commit 20e214c88c

View file

@ -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 = (