Incorrect namespace in attach_library call

Created on 11 October 2024, 2 months ago

Problem/Motivation

In templates/layouts/me-tabs.html.twig there is an attach_library call to
{{ attach_library('mercury_editor_tabs/tab') }}
I believe this should be
{{ attach_library('mercury_layouts/tab') }}

The call results in an error/warning being thrown on sites that do not have the mercury editor tabs module enabled.

This is observed in version 2.0.0-alpha1+10-dev

Proposed resolution

In templates/layouts/me-tabs.html.twig
replace
{{ attach_library('mercury_editor_tabs/tab') }}
with
{{ attach_library('mercury_layouts/tab') }}

Proposed patch attached.

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom andrew robinson

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024