Skip to content

Commit

Permalink
Merge pull request #85 from josefo727/Fix/TicketResource
Browse files Browse the repository at this point in the history
Fix: Corrected the entity owner by responsible.
  • Loading branch information
mihaisolomon authored Jun 29, 2023
2 parents 3e1e455 + 60f09cb commit 508e0d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Filament/Resources/TicketResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ public static function tableColumns(bool $withProject = true): array
Tables\Columns\TextColumn::make('responsible.name')
->label(__('Responsible'))
->sortable()
->formatStateUsing(fn($record) => view('components.user-avatar', ['user' => $record->owner]))
->formatStateUsing(fn($record) => view('components.user-avatar', ['user' => $record->responsible]))
->searchable(),

Tables\Columns\TextColumn::make('status.name')
Expand Down

0 comments on commit 508e0d4

Please sign in to comment.