Merge pull request #1837 from umap-project/browser-show-list
fix: always display data in browser unless in "layers" mode
This commit is contained in:
commit
6113ac362e
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,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)
|
||||||
|
|
Loading…
Reference in a new issue