chore: panel.MODE has been renamed to panel.mode

This commit is contained in:
Yohan Boniface 2024-03-15 17:47:58 +01:00
parent 70cca268e8
commit 2c248ea124

View file

@ -63,7 +63,7 @@ export default class Browser {
addDataLayer(datalayer, parent) { addDataLayer(datalayer, parent) {
let className = `datalayer ${datalayer.getHidableClass()}` let className = `datalayer ${datalayer.getHidableClass()}`
if (this.map.panel.MODE !== 'condensed') className += ' show-list' if (this.map.panel.mode !== 'condensed') className += ' show-list'
const container = DomUtil.create('div', className, parent), const container = DomUtil.create('div', className, parent),
headline = DomUtil.create('h5', '', container) headline = DomUtil.create('h5', '', container)
container.id = this.datalayerId(datalayer) container.id = this.datalayerId(datalayer)