Skip to content

Commit b048668

Browse files
Merge pull request #49 from IowaComputerGurus/feature/fix
Fixed Tag helpers
2 parents 6035f0b + 0dbc98b commit b048668

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

src/AspNetCore.Utilities/AspNetCore.Utilities.csproj

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,13 @@
3535
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
3636
</PropertyGroup>
3737

38+
<ItemGroup>
39+
<Compile Remove="Models\**" />
40+
<Content Remove="Models\**" />
41+
<EmbeddedResource Remove="Models\**" />
42+
<None Remove="Models\**" />
43+
</ItemGroup>
44+
3845
<ItemGroup>
3946
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="3.0.0-preview7.19362.4" />
4047
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0">
@@ -43,8 +50,4 @@
4350
</PackageReference>
4451
</ItemGroup>
4552

46-
<ItemGroup>
47-
<Folder Include="Models\" />
48-
</ItemGroup>
49-
5053
</Project>

src/AspNetCore.Utilities/TagHelpers/HideConditionTagHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ namespace ICG.AspNetCore.Utilities.TagHelpers
55
/// <summary>
66
/// A tag helper that if passed a tre value will suppress rendering content
77
/// </summary>
8-
[HtmlTargetElement(Attributes = nameof(HideCondition))]
8+
[HtmlTargetElement(Attributes = "hide-condition")]
99
public class HideConditionTagHelper : TagHelper
1010
{
1111
/// <summary>

src/AspNetCore.Utilities/TagHelpers/ShowConditionTagHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ namespace ICG.AspNetCore.Utilities.TagHelpers
55
/// <summary>
66
/// A tag helper that if passed a false value will suppress rendering content
77
/// </summary>
8-
[HtmlTargetElement(Attributes = nameof(ShowCondition))]
8+
[HtmlTargetElement(Attributes = "show-condition")]
99
public class ShowConditionTagHelper : TagHelper
1010
{
1111
/// <summary>

0 commit comments

Comments
 (0)