Use Activity type for Activity modal dialog title.
Use Activity type for Activity modal dialog title.
This commit is contained in:
parent
9eab6e9625
commit
48196ec65d
|
|
@ -50,7 +50,7 @@ namespace Elsa.Activities.Webhooks.ActivityTypes
|
|||
{
|
||||
var descriptor = new ActivityDescriptor
|
||||
{
|
||||
Type = WebhooksActivityType, //$"{webhook.Name} {WebhooksActivityType}",
|
||||
Type = $"{webhook.Name} {WebhooksActivityType}",
|
||||
DisplayName = $"{WebhooksActivityType}: {webhook.Name}",
|
||||
Category = WebhooksActivityCategory,
|
||||
Outcomes = new[] { OutcomeNames.Done },
|
||||
|
|
|
|||
|
|
@ -77,7 +77,6 @@ export class ElsaMultiExpressionEditor {
|
|||
}
|
||||
|
||||
render() {
|
||||
debugger
|
||||
return <div>
|
||||
<div class="elsa-mb-1">
|
||||
<div class="elsa-flex">
|
||||
|
|
|
|||
|
|
@ -92,6 +92,7 @@ export class ElsaActivityEditorModal {
|
|||
}
|
||||
|
||||
render() {
|
||||
debugger
|
||||
const renderProps = this.renderProps;
|
||||
const activityDescriptor: ActivityDescriptor = renderProps.activityDescriptor;
|
||||
const propertyCategories = renderProps.propertyCategories;
|
||||
|
|
@ -112,7 +113,7 @@ export class ElsaActivityEditorModal {
|
|||
<div>
|
||||
<div>
|
||||
<h3 class="elsa-text-lg elsa-leading-6 elsa-font-medium elsa-text-gray-900">
|
||||
{activityDescriptor.displayName}
|
||||
{activityDescriptor.type}
|
||||
</h3>
|
||||
<p class="elsa-mt-1 elsa-text-sm elsa-text-gray-500">
|
||||
{activityDescriptor.description}
|
||||
|
|
|
|||
Loading…
Reference in a new issue