Skip to content

Commit

Permalink
Filter out wings metadata in ListActivities (pelican-dev#961)
Browse files Browse the repository at this point in the history
  • Loading branch information
RMartinOscar authored Feb 2, 2025
1 parent f8ad9a1 commit 431c197
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ public function table(Table $table): Table
),
DateTimePicker::make('timestamp'),
KeyValue::make('properties')
->label('Metadata'),
->label('Metadata')
->formatStateUsing(fn ($state) => collect($state)->filter(fn ($item) => !is_array($item))->all()),
]),
])
->filters([
Expand Down

0 comments on commit 431c197

Please sign in to comment.