Skip to content

Commit

Permalink
Merge pull request #171 from code4romania/feat-167-2
Browse files Browse the repository at this point in the history
Fix badge for organisation status
  • Loading branch information
gheorghelupu17 authored Apr 12, 2024
2 parents a1aaf4a + aef4c52 commit 4b9c48b
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 4b9c48b

Please sign in to comment.