From 15de4864251dbc1b484ffdb2d68105e7d10b636d Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Fri, 14 Jun 2024 15:31:16 +0200 Subject: [PATCH] fix: use correct icon class in edit feature panel --- umap/static/umap/js/umap.features.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/umap/static/umap/js/umap.features.js b/umap/static/umap/js/umap.features.js index b669df4e..6d693c0e 100644 --- a/umap/static/umap/js/umap.features.js +++ b/umap/static/umap/js/umap.features.js @@ -144,7 +144,7 @@ U.FeatureMixin = { edit: function (e) { if (!this.map.editEnabled || this.isReadOnly()) return const container = L.DomUtil.create('div', 'umap-feature-container') - L.DomUtil.createTitle(container, L._('Feature properties'), this.getClassName()) + L.DomUtil.createTitle(container, L._('Feature properties'), `icon-${this.getClassName()}`) let builder = new U.FormBuilder( this,