]> BookStack Code Mirror - bookstack/blobdiff - resources/views/comments/comment-branch.blade.php
ZIP Imports: Added API examples, finished testing
[bookstack] / resources / views / comments / comment-branch.blade.php
index 78d19ac3ea41393953a415d02d18eb94dcc21774..658c33219c33886a585430084987999b4804f8dc 100644 (file)
@@ -1,13 +1,16 @@
+{{--
+$branch CommentTreeNode
+--}}
 <div class="comment-branch">
-    <div class="mb-m">
-        @include('comments.comment', ['comment' => $branch['comment']])
+    <div>
+        @include('comments.comment', ['comment' => $branch->comment])
     </div>
     <div class="flex-container-row">
         <div class="comment-thread-indicator-parent">
             <div class="comment-thread-indicator"></div>
         </div>
         <div class="comment-branch-children flex">
-            @foreach($branch['children'] as $childBranch)
+            @foreach($branch->children as $childBranch)
                 @include('comments.comment-branch', ['branch' => $childBranch])
             @endforeach
         </div>