mirror of
https://github.com/umap-project/umap.git
synced 2025-04-29 11:52:38 +02:00
wip: do not try to read map.fullPanel blindly
It is only defined when user has write permissions.
This commit is contained in:
parent
f1c34f9d27
commit
2f8cda83b6
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ export default class Browser {
|
||||||
this.map.eachBrowsableDataLayer((datalayer) => {
|
this.map.eachBrowsableDataLayer((datalayer) => {
|
||||||
datalayer.resetLayer(true)
|
datalayer.resetLayer(true)
|
||||||
this.updateDatalayer(datalayer)
|
this.updateDatalayer(datalayer)
|
||||||
if (this.map.fullPanel.isOpen()) datalayer.tableEdit()
|
if (this.map.fullPanel?.isOpen()) datalayer.tableEdit()
|
||||||
})
|
})
|
||||||
this.toggleBadge()
|
this.toggleBadge()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue