]> BookStack Code Mirror - bookstack/blobdiff - resources/views/comments/comments.blade.php
#47 - Fixes the issues with the test case.
[bookstack] / resources / views / comments / comments.blade.php
index 93e7ebc05bdb0f1fd083323237a80545ef46dc64..ffa75cfed227638fc72e1615c32803134994045e 100644 (file)
@@ -12,5 +12,7 @@
 
         </div>
     </div>
-    @include('comments/comment-reply', ['pageId' => $pageId])
+    <div ng-if="::vm.canComment()">
+        @include('comments/comment-reply', ['pageId' => $pageId])
+    </div>
 </div>
\ No newline at end of file