Skip to content

Commit

Permalink
bump filament and fix download attachments issue
Browse files Browse the repository at this point in the history
  • Loading branch information
danilopolani committed Jun 26, 2023
1 parent 040b53c commit 00033e4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"require": {
"php": "^8.1",
"composer/semver": "^3.3.2",
"filament/filament": "^2.17.18",
"filament/filament": "^2.17.49",
"flowframe/laravel-trend": "^0.1.5",
"illuminate/contracts": "^10.0",
"illuminate/database": "^10.0",
Expand Down
6 changes: 3 additions & 3 deletions dist/css/app.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/Resources/LogResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public static function table(Table $table): Table
->all()
)
->extraAttributes(fn (Log $record): array => [
'wire:click' => $record->attachments->isNotEmpty() ? 'mountTableAction("attachments", "' . $record->getKey() . '")' : '',
'wire:click' => new HtmlString($record->attachments->isNotEmpty() ? "mountTableAction('attachments', '{$record->getKey()}')" : ''),
'class' => $record->attachments->isNotEmpty() ? 'cursor-pointer' : '',
]),

Expand Down

0 comments on commit 00033e4

Please sign in to comment.