Fix to the Webhook path in activity
Fix to the Webhook path in activity. It was broken on the type change.
This commit is contained in:
parent
bb313ec95a
commit
f7bb27b8eb
|
|
@ -92,7 +92,6 @@ export class ElsaActivityEditorModal {
|
|||
}
|
||||
|
||||
render() {
|
||||
debugger
|
||||
const renderProps = this.renderProps;
|
||||
const activityDescriptor: ActivityDescriptor = renderProps.activityDescriptor;
|
||||
const propertyCategories = renderProps.propertyCategories;
|
||||
|
|
|
|||
|
|
@ -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 || [];
|
||||
|
|
|
|||
Loading…
Reference in a new issue