This commit is contained in:
Andras Bacsai
2023-06-15 10:48:13 +02:00
parent fe51f8fbf7
commit 8b6598ea6b
22 changed files with 380 additions and 231 deletions

View File

@@ -59,9 +59,9 @@ class InviteLink extends Component
]);
if ($isEmail) {
$user->first()->notify(new InvitationLinkEmail());
$this->emit('message', 'Invitation sent via email successfully.');
$this->emit('success', 'Invitation sent via email successfully.');
} else {
$this->emit('message', 'Invitation link generated.');
$this->emit('success', 'Invitation link generated.');
}
$this->emit('refreshInvitations');
} catch (\Throwable $e) {