From 019e56043d1272bfbb3971b133a75e682c688643 Mon Sep 17 00:00:00 2001 From: Sipke Schoorstra Date: Mon, 23 Sep 2019 15:55:44 +0200 Subject: [PATCH] Fix bug in ActivityDescriber --- .../Elsa.Dashboard/Areas/Elsa/Views/Shared/_Layout.cshtml | 2 +- src/dashboard/Elsa.WorkflowDesigner/ActivityDescriber.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dashboard/Elsa.Dashboard/Areas/Elsa/Views/Shared/_Layout.cshtml b/src/dashboard/Elsa.Dashboard/Areas/Elsa/Views/Shared/_Layout.cshtml index 03735f046..51f02b1ec 100644 --- a/src/dashboard/Elsa.Dashboard/Areas/Elsa/Views/Shared/_Layout.cshtml +++ b/src/dashboard/Elsa.Dashboard/Areas/Elsa/Views/Shared/_Layout.cshtml @@ -32,7 +32,7 @@ - + @await RenderSectionAsync("HeadScripts", false) diff --git a/src/dashboard/Elsa.WorkflowDesigner/ActivityDescriber.cs b/src/dashboard/Elsa.WorkflowDesigner/ActivityDescriber.cs index fb86c6b56..e3475f649 100644 --- a/src/dashboard/Elsa.WorkflowDesigner/ActivityDescriber.cs +++ b/src/dashboard/Elsa.WorkflowDesigner/ActivityDescriber.cs @@ -91,7 +91,7 @@ namespace Elsa.WorkflowDesigner if (type == typeof(string)) return ActivityPropertyTypes.Text; - if (typeof(IEnumerable<>).IsAssignableFrom(type)) + if (typeof(IEnumerable).IsAssignableFrom(type)) return ActivityPropertyTypes.List; return ActivityPropertyTypes.Text;