Skip to content

Commit

Permalink
In CanGenerateTables trait
Browse files Browse the repository at this point in the history
  • Loading branch information
achyutkneupane committed Dec 31, 2024
1 parent cf98653 commit 195366e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/tables/src/Commands/Concerns/CanGenerateTables.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,13 @@ protected function getResourceTableColumns(string $model): string
$columnData['sortable'] = [];
}

if (in_array($type['name'], [
'time',
])) {
$columnData['time'] = [];
$columnData['sortable'] = [];
}

if (in_array($type['name'], [
'datetime',
'timestamp',
Expand Down

0 comments on commit 195366e

Please sign in to comment.