Skip to content

Commit

Permalink
fix: build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jcdcdev committed Nov 12, 2024
1 parent a1abdc4 commit 4e999d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/Umbraco.Community.SimpleDashboards.sln
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Github", "Github", "{5830A8
ProjectSection(SolutionItems) = preProject
..\.github\workflows\release.yml = ..\.github\workflows\release.yml
..\.github\workflows\build.yml = ..\.github\workflows\build.yml
..\.github\dependabot.yml = ..\.github\dependabot.yml
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Umbraco.Community.SimpleDashboards.TestSite", "Umbraco.Community.SimpleDashboards.TestSite\Umbraco.Community.SimpleDashboards.TestSite.csproj", "{E043765D-AF26-4CA8-8D18-837C36BFA967}"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using Humanizer;
using Umbraco.Community.SimpleDashboards.Core.Models;
using Umbraco.Extensions;

namespace Umbraco.Community.SimpleDashboards.Web;

Expand All @@ -8,7 +9,7 @@ public abstract class SimpleDashboard : ISimpleDashboard
public virtual string ViewPath => $"~/Views/Dashboards/{Alias}.cshtml";
public virtual string ViewComponent => $"{Alias}Dashboard";
public virtual string Label => Name;
public string Alias => GetType().Name.TrimEnd("Dashboard");
public string Alias => GetType().Name.TrimEndExact("Dashboard");
public string PathName => Alias.Kebaberize();
public virtual int Weight => 100;
public virtual string Name => Alias;
Expand Down

0 comments on commit 4e999d2

Please sign in to comment.