Skip to content

Commit

Permalink
Merge pull request #13 from ramartins02/dev-table
Browse files Browse the repository at this point in the history
fix(table): columnsLabel prop was missing
  • Loading branch information
t0m4s79 authored Aug 22, 2024
2 parents bf4e437 + 163c03d commit 91704a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion laravel/resources/js/Pages/Drivers/AllDrivers.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default function AllDrivers( {auth, drivers} ) {
Novo Condutor
</a>

{drivers && cols && <Table data={driverInfo} columns={cols} editAction="drivers.showEdit" deleteAction="drivers.delete" dataId="user_id"/> }
{drivers && cols && <Table data={driverInfo} columns={cols} columnsLabel={driverColumnLabels} editAction="drivers.showEdit" deleteAction="drivers.delete" dataId="user_id"/> }

</div>

Expand Down

0 comments on commit 91704a8

Please sign in to comment.