From d1ba67a1e1491f3da27722c1c3d495e51f34d9c6 Mon Sep 17 00:00:00 2001 From: Hasarinda Thenuwara Date: Wed, 13 Dec 2023 14:40:10 +1030 Subject: [PATCH] Fix Koi menu * To display admin menu we use a dummy menu instance --- app/helpers/katalyst/navigation/frontend_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/katalyst/navigation/frontend_helper.rb b/app/helpers/katalyst/navigation/frontend_helper.rb index 30cf87c..84988a7 100644 --- a/app/helpers/katalyst/navigation/frontend_helper.rb +++ b/app/helpers/katalyst/navigation/frontend_helper.rb @@ -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)