浏览代码

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

version-14
nikhilponnuru 4 年前
父节点
当前提交
de70877228
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      frappe/desk/desktop.py

+ 1
- 1
frappe/desk/desktop.py 查看文件

@@ -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):


正在加载...
取消
保存