From 2c248ea1240d4501237722d6e038dbe1d4625985 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Fri, 15 Mar 2024 17:47:58 +0100 Subject: [PATCH] chore: panel.MODE has been renamed to panel.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 ddddfaf5..f4a12184 100644 --- a/umap/static/umap/js/modules/browser.js +++ b/umap/static/umap/js/modules/browser.js @@ -63,7 +63,7 @@ export default class Browser { addDataLayer(datalayer, parent) { 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), headline = DomUtil.create('h5', '', container) container.id = this.datalayerId(datalayer)