Skip to content

Commit

Permalink
Fix badge for organisation status
Browse files Browse the repository at this point in the history
  • Loading branch information
alexPopaCode4 committed Apr 12, 2024
1 parent a1aaf4a commit aef4c52
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/Filament/Resources/OrganisationResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -383,9 +383,9 @@ public static function table(Table $table): Table

Tables\Columns\BadgeColumn::make('status')
->colors([
'secondary' => 'inactive',
'warning' => 'guest',
'success' => 'active',
'secondary' => OrganisationStatus::inactive->value,
'warning' => OrganisationStatus::invited->value,
'success' => OrganisationStatus::active->value,
])
->enum(OrganisationStatus::options()),

Expand Down

0 comments on commit aef4c52

Please sign in to comment.