Fix styling
This commit is contained in:
committed by
github-actions[bot]
parent
41fb6a1fc9
commit
d86274cc37
@@ -8,12 +8,13 @@ use Livewire\Component;
|
||||
class Invitations extends Component
|
||||
{
|
||||
public $invitations;
|
||||
|
||||
protected $listeners = ['refreshInvitations'];
|
||||
|
||||
public function deleteInvitation(int $invitation_id)
|
||||
{
|
||||
$initiation_found = TeamInvitation::find($invitation_id);
|
||||
if (!$initiation_found) {
|
||||
if (! $initiation_found) {
|
||||
return $this->dispatch('error', 'Invitation not found.');
|
||||
}
|
||||
$initiation_found->delete();
|
||||
|
||||
Reference in New Issue
Block a user