fixed spell checker issue and alos git commit at ticket level
This commit is contained in:
@@ -401,9 +401,12 @@ final class TicketShow extends Component
|
||||
}
|
||||
})
|
||||
->when($ticket->company_id !== null, static function ($query) use ($ticket): void {
|
||||
$query->whereHas('repository', static function ($repositoryQuery) use ($ticket): void {
|
||||
$repositoryQuery->whereNull('company_id')
|
||||
->orWhere('company_id', $ticket->company_id);
|
||||
$query->where(static function ($scopeQuery) use ($ticket): void {
|
||||
$scopeQuery->where('ticket_id', $ticket->id)
|
||||
->orWhereHas('repository', static function ($repositoryQuery) use ($ticket): void {
|
||||
$repositoryQuery->whereNull('company_id')
|
||||
->orWhere('company_id', $ticket->company_id);
|
||||
});
|
||||
});
|
||||
})
|
||||
->latest('committed_at')
|
||||
|
||||
Reference in New Issue
Block a user