Skip to content

Commit dcc7cb1

Browse files
author
Warren Buckley
committed
Not doing anything async in the end
1 parent cf13e08 commit dcc7cb1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Our.Umbraco.TagHelpers/EditLinkTagHelper.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
using Our.Umbraco.TagHelpers.Extensions;
44
using Our.Umbraco.TagHelpers.Services;
55
using System.Text;
6-
using System.Threading.Tasks;
76
using Umbraco.Cms.Core.Web;
87

98
namespace Our.Umbraco.TagHelpers
@@ -43,7 +42,7 @@ public EditLinkTagHelper(IBackofficeUserAccessor backofficeUserAccessor, IUmbrac
4342
[HtmlAttributeName("use-default-styles")]
4443
public bool UseDefaultStyles { get; set; } = false;
4544

46-
public override async Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
45+
public override void Process(TagHelperContext context, TagHelperOutput output)
4746
{
4847
// Turn <our-edit-link> into an <a> tag
4948
output.TagName = "a";
@@ -60,7 +59,7 @@ public override async Task ProcessAsync(TagHelperContext context, TagHelperOutpu
6059
{
6160
ContentId = umbracoContext.PublishedRequest.PublishedContent.Id;
6261
}
63-
62+
6463
// Backoffice URL to content item
6564
var editLinkUrl = $"{EditUrl}{ContentId}";
6665

0 commit comments

Comments
 (0)