All sites where CW has been installed show this message in the browser console
[AdminSidebar] Custom link plugins_admin_additional_plugins_admin_wizards must have a valid I18n label, got admin.wizard.nav_label
All sites where CW has been installed show this message in the browser console
[AdminSidebar] Custom link plugins_admin_additional_plugins_admin_wizards must have a valid I18n label, got admin.wizard.nav_label
I’m not seeing this on my local or on coop.pavilion.tech.
I’m not seeing it anymore either
. Let’s close this for now.
I can repro this now. It happens when you’re not logged in as an admin. You can see it on coop if you log out or open coop in private mode.
The code is this
api.addAdminSidebarSectionLink("plugins", {
name: "admin_wizards",
label: "admin.wizard.nav_label",
route: "adminWizardsWizard",
icon: "hat-wizard",
});
The code always runs, regardless whether you’re an admin.
If you’re not an admin then you don’t have access to the I18n for admin.wizard.nav_label and this code triggers the error.
Possible solutions:
en.admin_js to en.js