Skip to content

Commit

Permalink
Fix: Corrected the entity owner by responsible in the responsible fra…
Browse files Browse the repository at this point in the history
…gment of the ticket resource.
  • Loading branch information
josefo727 committed Jun 20, 2023
1 parent 3e1e455 commit 60f09cb
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 60f09cb

Please sign in to comment.