Skip to content

Commit

Permalink
Fix early supporter indicator in admin panel
Browse files Browse the repository at this point in the history
  • Loading branch information
V13Axel committed Dec 9, 2024
1 parent d1f2eeb commit f0e8b66
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/Filament/Resources/UserResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ public static function form(Form $form): Form
])
->disabled(),
Forms\Components\Checkbox::make('beta_authorised'),
Forms\Components\Checkbox::make('is_early_supporter')->disabled(),
Forms\Components\Checkbox::make('is_early_supporter')
->formatStateUsing(fn (User $record) => $record->is_early_supporter)
->disabled(),
])
]);
}
Expand Down

0 comments on commit f0e8b66

Please sign in to comment.