File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/Resources/UserResource/Pages Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ protected function getHeaderActions(): array
2222 return [
2323 Actions \ActionGroup::make ([
2424 Actions \Action::make ('send_verify_user_email ' )
25- ->visible (fn ($ record ) => $ record ->isVerified () === false )
25+ ->visible (fn ($ record ) => $ record ->isVerified () === false )
2626 ->label (__ ('Send Verification Email ' ))
2727 ->action (function ($ record ) {
2828 $ notification = new VerifyEmail ;
@@ -64,11 +64,11 @@ protected function getHeaderActions(): array
6464 public function getSubheading (): string | Htmlable | null
6565 {
6666 /**
67- * @var \Backstage\Filament\Users\Concerns\HasBackstageManagement $user
67+ * @var User $user
6868 */
6969 $ user = $ this ->record ;
7070
71- $ verified = $ user ->isVerified ();
71+ $ verified = $ user ->hasVerifiedEmail ();
7272
7373 $ string = str (
7474 '<div class="text-sm text-gray-500 dark:text-gray-400">
You can’t perform that action at this time.
0 commit comments