Skip to content

Commit

Permalink
Fix Koi menu
Browse files Browse the repository at this point in the history
* To display admin menu we use a dummy menu instance
  • Loading branch information
hasarindaKI committed Dec 13, 2023
1 parent 638bd8f commit d1ba67a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/katalyst/navigation/frontend_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def navigation_menu_with(menu:, **)
builder = navigation_builder(**)
menu = navigation_menu_for(menu) if menu.is_a?(Symbol)

return if menu&.published_version_id.blank?
return if menu&.published_version.blank?

cache menu do
concat builder.render(menu.published_tree)
Expand Down

0 comments on commit d1ba67a

Please sign in to comment.