From c414ddec822a607b11b0befbb66a135fc94f637f Mon Sep 17 00:00:00 2001 From: shayanaijaz Date: Sun, 24 Nov 2024 19:19:29 -0600 Subject: [PATCH] small bug fix --- .../workspace_operations/shared_workspace_operations.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/portal/apps/projects/workspace_operations/shared_workspace_operations.py b/server/portal/apps/projects/workspace_operations/shared_workspace_operations.py index 49ce1c05a..062d48069 100644 --- a/server/portal/apps/projects/workspace_operations/shared_workspace_operations.py +++ b/server/portal/apps/projects/workspace_operations/shared_workspace_operations.py @@ -341,6 +341,9 @@ def list_projects(client, root_system_id=None): is_review_system = root_system.get('reviewProject', False) is_publication_system = root_system.get('publicationProject', False) + else: + is_review_system = False + is_publication_system = False community_system = next(system for system in settings.PORTAL_DATAFILES_STORAGE_SYSTEMS if system['scheme'] == 'community')