category relation

This commit is contained in:
Russ Long 2022-08-07 08:47:36 -04:00
parent 7fdc4bbc42
commit 8fbdcc2a2f
2 changed files with 2 additions and 2 deletions

View File

@ -24,8 +24,6 @@ class CarShowCategoryResource extends Resource
protected static ?string $navigationIcon = 'heroicon-o-collection'; protected static ?string $navigationIcon = 'heroicon-o-collection';
protected static ?string $inverseRelationship = 'type';
public static function form(Form $form): Form public static function form(Form $form): Form
{ {
return $form return $form

View File

@ -16,6 +16,8 @@ class VehicleRelationManager extends RelationManager
protected static ?string $recordTitleAttribute = 'id'; protected static ?string $recordTitleAttribute = 'id';
protected static ?string $inverseRelationship = 'type';
public static function form(Form $form): Form public static function form(Form $form): Form
{ {
return $form return $form