From 56fd30b9990b09a8c7c54898580fcdf02e653d9b Mon Sep 17 00:00:00 2001 From: Willouch <1733929+willouch@users.noreply.github.com> Date: Fri, 7 Jun 2024 06:12:57 +0200 Subject: [PATCH] Fix support for snippets in the default backend skin (#44) Credit to @willouch & @ericp-mrel. --- Plugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugin.php b/Plugin.php index 15344b2..a52356f 100644 --- a/Plugin.php +++ b/Plugin.php @@ -120,7 +120,7 @@ public function registerNavigation(): array 'label' => 'winter.pages::lang.snippet.menu_label', 'icon' => 'icon-newspaper-o', 'url' => 'javascript:;', - 'attributes' => ['data-menu-item'=>'snippet'], + 'attributes' => ['data-menu-item'=>'snippets'], 'permissions' => ['winter.pages.access_snippets'], ], ],