@if ($model['id'] ?? true)
	@include('components.datatable', ['route' => route('Admin.Core.Comments.index'), 'model' => 'comments', 'with_filters' => false, 'with_print' => false, 'dataTable' => $datatables['comments'], 'create_callback' => 'CommentCreate();', 'edit_callback' => 'CommentEdit(id);', 'delete_callback' => 'CommentRefresh();'])

	@component('components.layout.modal', ['title' => 'Filtres', 'id' => 'modal-comments-filters'])
		@include('Admin.Core.Comments.partials.filters')
	@endcomponent
@endif
