--- a/src_js/iconolab-bundle/src/components/editor/AnnotationForm.vue Mon Feb 20 18:43:34 2017 +0100
+++ b/src_js/iconolab-bundle/src/components/editor/AnnotationForm.vue Mon Feb 20 19:05:48 2017 +0100
@@ -45,7 +45,13 @@
watch: {
annotation: function(annotation) {
if (annotation) {
- Object.assign(this, annotation);
+ // Make sure we have an actual copy
+ Object.assign(this, {
+ 'title': annotation.title,
+ 'description': annotation.description,
+ 'fragment': annotation.fragment,
+ 'tags': annotation.tags.slice()
+ });
} else {
this.reset();
}