diff --git a/src/components/flow/node/helpers.ts b/src/components/flow/node/helpers.ts index b465fc36..aed45c38 100644 --- a/src/components/flow/node/helpers.ts +++ b/src/components/flow/node/helpers.ts @@ -65,7 +65,9 @@ export const getVisibleActions = (renderNode: RenderNode): Action[] => { return renderNode.node.actions.filter((action: Action) => action.type !== Types.set_run_result); } - return renderNode.node.actions; + //return renderNode.node.actions; + //PE-207: hide ticket feature + return renderNode.node.actions.filter((action: Action) => action.type !== Types.open_ticket); }; export const filterIssuesForAction = ( diff --git a/src/config/interfaces.ts b/src/config/interfaces.ts index 14651c23..c33923cf 100644 --- a/src/config/interfaces.ts +++ b/src/config/interfaces.ts @@ -28,7 +28,7 @@ export enum Types { call_classifier = 'call_classifier', call_resthook = 'call_resthook', call_webhook = 'call_webhook', - //open_ticket = 'open_ticket', PE-207: hide ticket feature + open_ticket = 'open_ticket', send_msg = 'send_msg', send_email = 'send_email', send_broadcast = 'send_broadcast',