Skip to content

Commit 13e78a7

Browse files
committed
Correct fsdocs-menu-item-active-class value.
1 parent 49b4961 commit 13e78a7

File tree

1 file changed

+1
-1
lines changed
  • src/FSharp.Formatting.Common

1 file changed

+1
-1
lines changed

src/FSharp.Formatting.Common/Menu.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ let createMenu (input: string) (isCategoryActive: bool) (header: string) (items:
3131
[| ParamKeys.``fsdocs-menu-item-link``, link
3232
ParamKeys.``fsdocs-menu-item-content``, title
3333
ParamKeys.``fsdocs-menu-item-id``, id
34-
ParamKeys.``fsdocs-menu-item-active-class``, (if isCategoryActive then "active" else "") |]
34+
ParamKeys.``fsdocs-menu-item-active-class``, (if model.IsActive then "active" else "") |]
3535
menuItemTemplate)
3636
|> String.concat "\n"
3737

0 commit comments

Comments
 (0)