Skip to content

Commit

Permalink
Add more info on log details
Browse files Browse the repository at this point in the history
  • Loading branch information
xavicabot committed Nov 13, 2024
1 parent b787df8 commit 85900a2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Pages/ViewLog.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,16 @@ public static function table(Table $table): Table
])
->actions([
ViewAction::make('view')
->label(false)
->label(__('Log Details'))
->infolist([
TextEntry::make('text')
->label(__('Error')),
TextEntry::make('stack')
->label(__('Details'))
->formatStateUsing(fn ($state) => new HtmlString('<p style="white-space: pre-wrap">' . $state . '</p>')),

])
->modalHeading(__('Log Details'))
->slideOver(),
])
->headerActions([
Expand Down

0 comments on commit 85900a2

Please sign in to comment.