From fb50e5624f6dd4f303c172f85fe0556ce1e9b45c Mon Sep 17 00:00:00 2001 From: Russ Long Date: Sun, 7 Aug 2022 09:01:34 -0400 Subject: [PATCH] category relation --- .../RelationManagers/VehicleRelationManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Filament/Resources/CarShowCategoryResource/RelationManagers/VehicleRelationManager.php b/app/Filament/Resources/CarShowCategoryResource/RelationManagers/VehicleRelationManager.php index d69279d..2cb19a5 100644 --- a/app/Filament/Resources/CarShowCategoryResource/RelationManagers/VehicleRelationManager.php +++ b/app/Filament/Resources/CarShowCategoryResource/RelationManagers/VehicleRelationManager.php @@ -16,7 +16,7 @@ class VehicleRelationManager extends RelationManager protected static ?string $recordTitleAttribute = 'id'; - protected static ?string $inverseRelationship = 'type'; + protected static ?string $inverseRelationship = 'vehicleType'; public static function form(Form $form): Form {