diff --git a/src/designer/elsa-workflows-studio/src/components/screens/workflow-definition-editor/elsa-activity-editor-modal/elsa-activity-editor-modal.tsx b/src/designer/elsa-workflows-studio/src/components/screens/workflow-definition-editor/elsa-activity-editor-modal/elsa-activity-editor-modal.tsx index 6a4a3b066..b249d5ac5 100644 --- a/src/designer/elsa-workflows-studio/src/components/screens/workflow-definition-editor/elsa-activity-editor-modal/elsa-activity-editor-modal.tsx +++ b/src/designer/elsa-workflows-studio/src/components/screens/workflow-definition-editor/elsa-activity-editor-modal/elsa-activity-editor-modal.tsx @@ -92,7 +92,6 @@ export class ElsaActivityEditorModal { } render() { - debugger const renderProps = this.renderProps; const activityDescriptor: ActivityDescriptor = renderProps.activityDescriptor; const propertyCategories = renderProps.propertyCategories; diff --git a/src/designer/elsa-workflows-studio/src/plugins/webhook-plugin.tsx b/src/designer/elsa-workflows-studio/src/plugins/webhook-plugin.tsx index 852adefc8..81aaf6eef 100644 --- a/src/designer/elsa-workflows-studio/src/plugins/webhook-plugin.tsx +++ b/src/designer/elsa-workflows-studio/src/plugins/webhook-plugin.tsx @@ -11,7 +11,7 @@ export class WebhookPlugin implements ElsaPlugin { onActivityDisplaying(context: ActivityDesignDisplayContext) { const activityModel = context.activityModel; - if (activityModel.type !== 'Webhook') + if (!activityModel.type.endsWith('Webhook')) return; const props = activityModel.properties || [];