fix: main help button from edit toolbar was broken

This commit is contained in:
Yohan Boniface 2024-07-01 18:58:01 +02:00
parent 796865314a
commit 759dd34ef3

View file

@ -191,7 +191,7 @@ export default class Help {
const container = DomUtil.add('div')
DomUtil.createTitle(container, translate('Help'))
// Special dynamic case. Do we still think this dialog is usefull ?
if (entries === 'edit') {
if (entries[0] === 'edit') {
DomUtil.element({
tagName: 'div',
className: 'umap-help-entry',