This commit is contained in:
Bozhidar 2024-09-11 13:40:52 +03:00
parent 6453687bce
commit a0b96b6d95
2 changed files with 11 additions and 1 deletions

View file

@ -91,7 +91,12 @@ class GitSshKeyResource extends Resource
{
return $table
->columns([
//
Tables\Columns\TextColumn::make('name')
->searchable()
->sortable(),
Tables\Columns\TextColumn::make('hostingSubscription.domain')
->searchable()
->sortable(),
])
->filters([
//

View file

@ -15,4 +15,9 @@ class GitSshKey extends Model
'private_key',
'public_key',
];
public function hostingSubscription()
{
return $this->belongsTo(HostingSubscription::class);
}
}