diff --git a/umap/static/umap/js/modules/browser.js b/umap/static/umap/js/modules/browser.js index 2874936f..0ee61fcb 100644 --- a/umap/static/umap/js/modules/browser.js +++ b/umap/static/umap/js/modules/browser.js @@ -62,7 +62,7 @@ export default class Browser { addDataLayer(datalayer, parent) { 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), headline = DomUtil.create('h5', '', container) container.id = this.datalayerId(datalayer)