src_js/iconolab-bundle/src/components/editor/Comment.vue
changeset 423 729e51dd282e
parent 413 9c5f2d97863a
--- a/src_js/iconolab-bundle/src/components/editor/Comment.vue	Tue Mar 14 12:54:51 2017 +0100
+++ b/src_js/iconolab-bundle/src/components/editor/Comment.vue	Tue Mar 14 13:07:45 2017 +0100
@@ -7,9 +7,8 @@
         <div class="comment-footer">
             <span class="comment-date">{{ dateFormatted }}</span>
         </div>
-
         <comment-form v-show="hover"
-            v-if="allowThread"
+            v-if="allowThread &amp;&amp; isAuthenticated"
             v-bind:annotation="annotation"
             v-bind:reply-to="id">
         </comment-form>
@@ -34,7 +33,8 @@
             'username',
             'email',
             'date',
-            'allowThread'
+            'allow-thread',
+            'is-authenticated'
         ],
         data() {
             return {