fix: Newly created Workspace not being accessible unless a shortcut under Shortcuts is created

This commit is contained in:
nikhilponnuru 2021-04-15 21:08:02 +05:30
parent cc136e869e
commit de70877228

View file

@ -63,7 +63,7 @@ class Workspace:
for section in cards:
links = loads(section.get('links')) if isinstance(section.get('links'), string_types) else section.get('links')
for item in links:
if self.is_item_allowed(item.get('name'), item.get('type')):
if self.is_item_allowed(item.get('link_to'), item.get('link_type')):
return True
def _in_active_domains(item):