diff --git a/lib/www/client/source/src/views/Map.vue b/lib/www/client/source/src/views/Map.vue index c423659..3dd867c 100644 --- a/lib/www/client/source/src/views/Map.vue +++ b/lib/www/client/source/src/views/Map.vue @@ -674,10 +674,7 @@ export default { async getLabelDefinitions () { const url = `/project/${this.$route.params.project}/label`; - const labelSet = {}; - const labels = await this.api([url]) || []; - labels.forEach( l => labelSet[l.name] = l.data ); - this.labels = labelSet; + this.labels = await this.api([url]) || []; }, ...mapActions(["api"])