Skip to content
Snippets Groups Projects
Unverified Commit c3fca8cc authored by Sébastien Gaya's avatar Sébastien Gaya
Browse files

sorry

parent de12e781
No related branches found
No related tags found
No related merge requests found
......@@ -81,6 +81,5 @@ class Communication::Website::Menu < ApplicationRecord
item_translation.about = item.about.translation_for(menu_translation.language)
# If no target translation found, convert to a blank menu item if item has children.
item_translation.kind = 'blank' if item_translation.about.nil? && item.children.any?
end
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment