From 9b06591c2915281cd35b5bd9fa21efeb1694e8bf Mon Sep 17 00:00:00 2001 From: dispensable Date: Wed, 29 Nov 2023 14:20:42 +0800 Subject: [PATCH] Remove pack prefix of action name (#160) --- helpdesk/models/action_tree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpdesk/models/action_tree.py b/helpdesk/models/action_tree.py index 88405850..7fa6bd12 100644 --- a/helpdesk/models/action_tree.py +++ b/helpdesk/models/action_tree.py @@ -73,7 +73,7 @@ def resolve_pack(self, *config): report() for a in actions: - obj = '.'.join([a.get('pack'), a.get('name')]) + obj = a.get('name') desc = a.get('description') sub_actions.append([obj, desc, provider_type, a['id']]) return [name, sub_actions]