fix app-active tag helper href override

This commit is contained in:
2026-03-12 12:24:14 +01:00
parent 47f1a98c84
commit 865d3e2b61
-4
View File
@@ -26,8 +26,6 @@ public class ActiveTagHelper(IHttpContextAccessor contextAccessor) : TagHelper
{
output.AddClass("is-active-exact", HtmlEncoder.Default);
}
output.Attributes.SetAttribute("href", Href);
}
}
@@ -47,7 +45,5 @@ public class ActiveExactTagHelper(IHttpContextAccessor contextAccessor) : TagHel
{
output.AddClass("is-active-exact", HtmlEncoder.Default);
}
output.Attributes.SetAttribute("href", Href);
}
}