@props([
'board',
'post',
'comments' => collect(),
'authGuard' => 'tenant',
'commentStoreAction' => '',
'commentDestroyRoute' => '',
'commentDestroyAction' => '',
'commentReplyEnabled' => true,
])
@php
$canUseCommentForm = $board->canWriteComments(auth($authGuard)->user());
$canViewComments = $board->canViewComments(auth($authGuard)->user());
@endphp
@push('scripts')
@endpush
댓글 {{ $canViewComments ? $comments->count() : '' }}