Browse Source

Merge pull request #12866 from nikhilponnuru/version-13

fix: newly created Workspace not being accessible unless a shortcut u…
version-14
mergify[bot] 4 years ago
committed by GitHub
parent
commit
b71f8dcba1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      frappe/desk/desktop.py

+ 1
- 1
frappe/desk/desktop.py 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):


Loading…
Cancel
Save