Skip to content

Commit

Permalink
Post merge and OC update fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahelsaig committed May 4, 2024
1 parent 547b55e commit eadc295
Showing 1 changed file with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
using OrchardCore.DisplayManagement.Descriptors;
using System.Threading.Tasks;

namespace Lombiq.HelpfulExtensions.Extensions.Flows;

internal sealed class FlowPartShapeTableProvider : IShapeTableProvider
{
public void Discover(ShapeTableBuilder builder) => builder
.Describe("FlowPart")
.OnDisplaying(displaying => displaying.Shape.Metadata.Alternates.Add("Lombiq_HelpfulExtensions_Flows_FlowPart"));
public ValueTask DiscoverAsync(ShapeTableBuilder builder)
{
builder
.Describe("FlowPart")
.OnDisplaying(displaying => displaying.Shape.Metadata.Alternates.Add("Lombiq_HelpfulExtensions_Flows_FlowPart"));

return ValueTask.CompletedTask;
}
}

0 comments on commit eadc295

Please sign in to comment.