From 86b25ccf64a1cf23171b77229ceab7171cf14e94 Mon Sep 17 00:00:00 2001 From: Adam Ratzman Date: Wed, 31 Jan 2024 15:25:07 -0500 Subject: [PATCH] Humanize resource state (#1962) Co-authored-by: Adam Ratzman --- .../Components/ResourcesGridColumns/StateColumnDisplay.razor | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Aspire.Dashboard/Components/ResourcesGridColumns/StateColumnDisplay.razor b/src/Aspire.Dashboard/Components/ResourcesGridColumns/StateColumnDisplay.razor index e5984452b1..ae41dcbf63 100644 --- a/src/Aspire.Dashboard/Components/ResourcesGridColumns/StateColumnDisplay.razor +++ b/src/Aspire.Dashboard/Components/ResourcesGridColumns/StateColumnDisplay.razor @@ -1,6 +1,7 @@ @using Aspire.Dashboard.Model @using Aspire.Dashboard.Otlp.Model @using Aspire.Dashboard.Resources +@using Humanizer @inject IStringLocalizer Loc @@ -36,7 +37,7 @@ else Class="severity-icon"/> } -@Resource.State +@Resource.State.Humanize() @code {