Skip to content

Commit

Permalink
chore(librarium): added descriptive label to Verify button
Browse files Browse the repository at this point in the history
  • Loading branch information
MathewEm authored and vincentauger committed Dec 4, 2024
1 parent 0922bc9 commit 0a8fb55
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/Filament/Resources/UserResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ public static function form(Form $form): Form
->onColor('success'),
Forms\Components\Actions::make([
Forms\Components\Actions\Action::make('verify_email')
->label('Activate & Verify')
->hidden(fn ($record) => $record && $record->email_verified_at)
->action('setVerifiedEmail'),
]),
Expand Down

0 comments on commit 0a8fb55

Please sign in to comment.