We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e0a088 commit 7f34087Copy full SHA for 7f34087
src/Resources/UserResource/Pages/ViewUser.php
@@ -22,7 +22,7 @@ protected function getHeaderActions(): array
22
return [
23
Actions\ActionGroup::make([
24
Actions\Action::make('send_verify_user_email')
25
- ->visible(fn ($record) => $record->isVerified() === false)
+ ->visible(fn(User $record) => $record->hasVerifiedEmail() === false)
26
->label(__('Send Verification Email'))
27
->action(function ($record) {
28
$notification = new VerifyEmail;
0 commit comments