From 0133c405a5b840051b2dff67125b331814a65936 Mon Sep 17 00:00:00 2001 From: Russ Long Date: Sun, 7 Aug 2022 13:18:48 -0400 Subject: [PATCH] fix pc relation --- app/Filament/Resources/PeoplesChoiceResource.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Filament/Resources/PeoplesChoiceResource.php b/app/Filament/Resources/PeoplesChoiceResource.php index b0da167..c6310ad 100644 --- a/app/Filament/Resources/PeoplesChoiceResource.php +++ b/app/Filament/Resources/PeoplesChoiceResource.php @@ -44,10 +44,10 @@ class PeoplesChoiceResource extends Resource return $table ->columns([ TextColumn::make('pc_count')->label('PC Vote Count'), - TextColumn::make('vehicle.owner')->label('Vehicle Number'), - TextColumn::make('vehicle.year')->label('Year'), - TextColumn::make('vehicle.make')->label('Make'), - TextColumn::make('vehicle.model')->label('Model'), + TextColumn::make('vehicles.owner')->label('Vehicle Number'), + TextColumn::make('vehicles.year')->label('Year'), + TextColumn::make('vehicles.make')->label('Make'), + TextColumn::make('vehicles.model')->label('Model'), ]) ->filters([ //