fix: use correct icon class in edit feature panel

This commit is contained in:
Yohan Boniface 2024-06-14 15:31:16 +02:00
parent 7660153b3b
commit 15de486425

View file

@ -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,