chore: panel.MODE has been renamed to panel.mode
This commit is contained in:
parent
70cca268e8
commit
2c248ea124
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue