delete(); $this->refreshInvitations(); } public function refreshInvitations() { $this->invitations = TeamInvitation::whereTeamId(currentTeam()->id)->get(); } }