src_js/iconolab-bundle/src/components/editor/CommentList.vue
changeset 504 11a862e01b04
parent 423 729e51dd282e
child 539 08e2513dbc2f
--- a/src_js/iconolab-bundle/src/components/editor/CommentList.vue	Mon May 15 14:44:14 2017 +0200
+++ b/src_js/iconolab-bundle/src/components/editor/CommentList.vue	Tue May 16 11:29:33 2017 +0200
@@ -34,7 +34,7 @@
         },
         watch: {
             annotation: function(annotation) {
-                if (annotation) {
+                if (annotation && annotation.annotation_guid) {
                     $.getJSON(this.commentsURL).then((comments) => this.comments = comments);
                 } else {
                     this.comments = [];