Skip to content

Commit

Permalink
Merge pull request #9 from drifteaur/main
Browse files Browse the repository at this point in the history
make created/updated columns toggleable
  • Loading branch information
3x1io authored Jun 6, 2022
2 parents 31e09ed + c67a22d commit 0fc7255
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Resources/TranslationResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ public static function table(Table $table): Table
->sortable()->searchable(),
Tables\Columns\TextColumn::make('text')->label(trans('filament-translations::translation.text')),
Tables\Columns\TextColumn::make('created_at')->label(trans('filament-translations::global.created_at'))
->dateTime(),
->dateTime()->toggleable(),
Tables\Columns\TextColumn::make('updated_at')->label(trans('filament-translations::global.updated_at'))
->dateTime(),
->dateTime()->toggleable(),
])
->filters([
//
Expand Down

0 comments on commit 0fc7255

Please sign in to comment.