This commit is contained in:
j 2021-11-24 11:50:37 +01:00
parent e6d882c575
commit 83228a5ead

View file

@ -305,7 +305,7 @@ function loadAnnotations(config) {
'layers'
]}).then(response => {
var annotations = []
if (Array.isArray(config.layer) {
if (Array.isArray(config.layer)) {
config.layer.forEach(layer => {
response.data.layers[layer].forEach(annotation => {
if (!(config.user && annotation.user != config.user)) {