Skip to content

Commit

Permalink
Humanize resource state (dotnet#1962)
Browse files Browse the repository at this point in the history
Co-authored-by: Adam Ratzman <[email protected]>
  • Loading branch information
2 people authored and radical committed Feb 2, 2024
1 parent abf4ba3 commit 86b25cc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@using Aspire.Dashboard.Model
@using Aspire.Dashboard.Otlp.Model
@using Aspire.Dashboard.Resources
@using Humanizer

@inject IStringLocalizer<Columns> Loc

Expand Down Expand Up @@ -36,7 +37,7 @@ else
Class="severity-icon"/>
}

@Resource.State
@Resource.State.Humanize()
<UnreadLogErrorsBadge UnviewedErrorCounts="UnviewedErrorCounts" Resource="@Resource" />

@code {
Expand Down

0 comments on commit 86b25cc

Please sign in to comment.