sylvainjule / kirby-annotator

Kirby field for adding notes to images by pinning them to specific coordinates. Kirby 2 and 3.
MIT License
108 stars 8 forks source link

this.load is not a function in Kirby 3.6.1 #21

Closed RobertCordes closed 2 years ago

RobertCordes commented 2 years ago

After updating to Kirby 3.6.1 I got the following error, when visiting the panel with an annotator field:

this.$store.state.languages ? this.$store.state.languages.current : this.$language

This is referring to this line in src/annotator.vue.

Switching back to 3.6.0 I got rid of the error. Unfortunately I have no idea what this.load() is for, otherwise I would happily create a PR. 😉

sylvainjule commented 2 years ago

Thanks for reporting this, not much we could do currently as it's a regression in 3.6.1, you'd have to stick to 3.6.0 for now. An issue is open here: https://github.com/getkirby/kirby/issues/1062