From 9b8d14c20aba6968cf42dc4f2836cd1d26e28ac6 Mon Sep 17 00:00:00 2001 From: Nick Moreton Date: Mon, 23 Dec 2024 17:22:13 +0000 Subject: [PATCH] Disable the copy view for the main menu admin --- wagtailmenus/menuadmin.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wagtailmenus/menuadmin.py b/wagtailmenus/menuadmin.py index 88f2886e..ee9bc073 100644 --- a/wagtailmenus/menuadmin.py +++ b/wagtailmenus/menuadmin.py @@ -90,6 +90,8 @@ class MainMenuAdmin(SnippetViewSet): edit_template_name = "wagtailmenus/mainmenu_edit.html" error_message = _("The menu could not be saved due to errors.") + copy_view_enabled = False + edit_handler = TabbedInterface([ ObjectList(panels.main_menu_content_panels, heading=_("Content")), ObjectList(panels.menu_settings_panels, heading=_("Settings"),