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([ //