From 06f5b4447fd047f20f6ddebade1e54d2f8b963c8 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Fri, 17 May 2024 17:36:19 +0200 Subject: [PATCH] fix: always display data in browser unless in "layers" mode --- umap/static/umap/js/modules/browser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/umap/static/umap/js/modules/browser.js b/umap/static/umap/js/modules/browser.js index fb2741bf..2279f91b 100644 --- a/umap/static/umap/js/modules/browser.js +++ b/umap/static/umap/js/modules/browser.js @@ -73,7 +73,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)