diff --git a/umap/static/umap/js/modules/browser.js b/umap/static/umap/js/modules/browser.js index fc4a1af4..6afdf92d 100644 --- a/umap/static/umap/js/modules/browser.js +++ b/umap/static/umap/js/modules/browser.js @@ -107,7 +107,7 @@ export default class Browser { this.map.eachBrowsableDataLayer((datalayer) => { datalayer.resetLayer(true) this.updateDatalayer(datalayer) - if (this.map.fullPanel.isOpen()) datalayer.tableEdit() + if (this.map.fullPanel?.isOpen()) datalayer.tableEdit() }) this.toggleBadge() }