fix: always display data in browser unless in "layers" mode

This commit is contained in:
Yohan Boniface 2024-05-17 17:36:19 +02:00
parent 0a30530a3e
commit 06f5b4447f

View file

@ -73,7 +73,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.mode !== 'layers') 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)