From 759dd34ef343d359b6526ad64fd5bf03472f5c74 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Mon, 1 Jul 2024 18:58:01 +0200 Subject: [PATCH] fix: main help button from edit toolbar was broken --- umap/static/umap/js/modules/help.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/umap/static/umap/js/modules/help.js b/umap/static/umap/js/modules/help.js index fe0a8460..7587a138 100644 --- a/umap/static/umap/js/modules/help.js +++ b/umap/static/umap/js/modules/help.js @@ -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',