Skip to content

Commit 4c1e663

Browse files
committed
Fixing errors in PersonsAdminMenu
1 parent 85e7ac9 commit 4c1e663

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lombiq.TrainingDemo/Navigation/PersonsAdminMenu.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ protected override void Build(NavigationBuilder builder) =>
2424
// used if you want to override the menu item shape in order to add a nice looking icon.
2525
.AddClass("persons").Id("persons")
2626
// This means that the top-level menu item also will point to the action where its first child item points.
27-
.LinkToFirstChild(true)
27+
.LinkToFirstChild(value: true)
2828

2929
// Now let's add the sub menu items.
3030
.Add(T["Test"], subitem => subitem
@@ -35,7 +35,7 @@ protected override void Build(NavigationBuilder builder) =>
3535
)
3636

3737
.Add(T["Person List"], subitem => subitem
38-
.LinkToFirstChild(true)
38+
.LinkToFirstChild(value: true)
3939

4040
.Add(T["Newest Items"], thirdLevelItem => thirdLevelItem
4141
.Action(

0 commit comments

Comments
 (0)