Skip to content

Commit

Permalink
improve in response report
Browse files Browse the repository at this point in the history
  • Loading branch information
atmonshi committed Nov 1, 2023
1 parent af81055 commit 0bfd8ec
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,16 @@ public function table(Table $table): Table
->label(__('Avatar'))
->toggleable(),*/
TextColumn::make('user.name')
->label(__('User Name'))
->label(__('Name'))
->toggleable()
->sortable()
->default(__('guest'))
->searchable(),
TextColumn::make('status')
->toggleable()
->sortable()
->badge()
->label(__('status'))
->label(__('response status'))
->colors(BoltPlugin::getModel('FormsStatus')::pluck('key', 'color')->toArray())
->icons(BoltPlugin::getModel('FormsStatus')::pluck('key', 'icon')->toArray())
->grow(false)
Expand Down Expand Up @@ -86,6 +87,7 @@ public function table(Table $table): Table

$mainColumns[] = TextColumn::make('created_at')
->sortable()
->dateTime()
->label(__('created at'))
->toggleable();

Expand Down

0 comments on commit 0bfd8ec

Please sign in to comment.