Fix cache not flushed after comment delete by admin

This commit is contained in:
2026-01-10 23:24:31 +01:00
parent df47a926e4
commit 4b05b3db6d

View File

@@ -29,6 +29,8 @@ class AdminCommentSearch extends Component
{
$comment = Comment::where('id', (int) $commentId)->firstOrFail();
$comment->delete();
cache()->flush();
}
public function render()