Skip to content

Commit

Permalink
Update djangocms_versioning/cms_toolbars.py
Browse files Browse the repository at this point in the history
  • Loading branch information
fsbraun authored Feb 2, 2025
1 parent 0417e3a commit 95aa7d9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion djangocms_versioning/cms_toolbars.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,8 @@ def add_language_menu(self):
"""
if not settings.USE_I18N or not self.request.current_page:
# Only add if no page is shown
return super().add_language_menu()
super().add_language_menu()
return

language_menu = self.toolbar.get_or_create_menu(
LANGUAGE_MENU_IDENTIFIER, _("Language"), position=-1
Expand Down

0 comments on commit 95aa7d9

Please sign in to comment.