From 2d18300127a4bcd04b2fd635bb5022f864977c4a Mon Sep 17 00:00:00 2001 From: Sipke Schoorstra Date: Tue, 19 Oct 2021 11:23:03 +0200 Subject: [PATCH] Formatting --- .../Services/Models/ActivityType.cs | 6 +++--- .../ElsaDashboard/Pages/_Host.cshtml | 20 +++++++++---------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/core/Elsa.Abstractions/Services/Models/ActivityType.cs b/src/core/Elsa.Abstractions/Services/Models/ActivityType.cs index 3ab0c98e2..c69726c62 100644 --- a/src/core/Elsa.Abstractions/Services/Models/ActivityType.cs +++ b/src/core/Elsa.Abstractions/Services/Models/ActivityType.cs @@ -34,7 +34,7 @@ namespace Elsa.Services.Models public IDictionary Annotations { get; set; } = new Dictionary(); public Func> ActivateAsync { get; set; } = _ => new ValueTask(); - + /// /// Returns a value of whether the specified activity can execute. /// @@ -43,12 +43,12 @@ namespace Elsa.Services.Models /// /// Executes the activity. /// - public Func> ExecuteAsync { get; set; } = (_, _) => new ValueTask(new DoneResult()); + public Func> ExecuteAsync { get; set; } = (_, _) => new ValueTask(new DoneResult()); /// /// Resumes the specified activity. /// - public Func> ResumeAsync { get; set; } = (_, _) => new ValueTask(new DoneResult()); + public Func> ResumeAsync { get; set; } = (_, _) => new ValueTask(new DoneResult()); public Func> DescribeAsync { get; set; } = () => new ValueTask(new ActivityDescriptor()); public bool IsBrowsable { get; set; } = true; diff --git a/src/dashboards/ElsaDashboard/Pages/_Host.cshtml b/src/dashboards/ElsaDashboard/Pages/_Host.cshtml index 0759137e8..3d363f630 100644 --- a/src/dashboards/ElsaDashboard/Pages/_Host.cshtml +++ b/src/dashboards/ElsaDashboard/Pages/_Host.cshtml @@ -23,17 +23,17 @@ + // Configure Elsa during the 'initializing' event. + elsaStudioRoot.addEventListener('initializing', e => { + const elsa = e.detail; + elsa.pluginManager.registerPlugin(WebhooksPlugin); + }); + \ No newline at end of file