diff --git a/functions/public/Invoke-WPFUIElements.ps1 b/functions/public/Invoke-WPFUIElements.ps1 index 764f5d07..1b6c2cf6 100644 --- a/functions/public/Invoke-WPFUIElements.ps1 +++ b/functions/public/Invoke-WPFUIElements.ps1 @@ -130,7 +130,7 @@ function Invoke-WPFUIElements { } $label = New-Object Windows.Controls.Label - $label.Content = $category -replace ".*__" + $label.Content = $category -replace ".*__", "" $label.FontSize = $theme.FontSizeHeading $label.FontFamily = $theme.HeaderFontFamily $stackPanel.Children.Add($label) | Out-Null