Rename forgotten DataLayer.openFilter to DataLayer.openFacet

This commit is contained in:
Yohan Boniface 2023-08-17 08:14:22 +02:00
parent ea21857bd3
commit 7452681b31

View file

@ -934,7 +934,7 @@ L.U.Map.include({
L.DomUtil.create('i', 'umap-icon-16 umap-add', filter) L.DomUtil.create('i', 'umap-icon-16 umap-add', filter)
const labelFilter = L.DomUtil.create('span', '', filter) const labelFilter = L.DomUtil.create('span', '', filter)
labelFilter.textContent = labelFilter.title = L._('Facet search') labelFilter.textContent = labelFilter.title = L._('Facet search')
L.DomEvent.on(filter, 'click', this.openFilter, this) L.DomEvent.on(filter, 'click', this.openFacet, this)
actions.push(filter) actions.push(filter)
} }
this.ui.openPanel({ data: { html: container }, actions: actions }) this.ui.openPanel({ data: { html: container }, actions: actions })