Refresh on delete
This commit is contained in:
@@ -56,6 +56,8 @@ class Comment extends Component
|
|||||||
$this->authorize('destroy', $this->comment);
|
$this->authorize('destroy', $this->comment);
|
||||||
|
|
||||||
$this->comment->delete();
|
$this->comment->delete();
|
||||||
|
|
||||||
|
$this->dispatch('refresh');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function postReply()
|
public function postReply()
|
||||||
|
|||||||
Reference in New Issue
Block a user