Commit ab6d34b8 authored by christianrhansen's avatar christianrhansen

fixed wrong model after updating annotation

parent 67336952
Pipeline #29736 passed with stage
in 1 minute and 27 seconds
......@@ -63,10 +63,8 @@
}
},
async getAnnotation () {
const
query = { 'uuid': this.data.row.uuid },
result = await this.$store.dispatch('annotations/find', query)
this.model = result.items[0].body.value
const result = await this.$store.dispatch('annotations/get', this.data.row._uuid)
this.model = result.body.value
this.loading = false
},
inputChange (bool) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment