Skip to content

Commit 00033e4

Browse files
committed
bump filament and fix download attachments issue
1 parent 040b53c commit 00033e4

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"require": {
1818
"php": "^8.1",
1919
"composer/semver": "^3.3.2",
20-
"filament/filament": "^2.17.18",
20+
"filament/filament": "^2.17.49",
2121
"flowframe/laravel-trend": "^0.1.5",
2222
"illuminate/contracts": "^10.0",
2323
"illuminate/database": "^10.0",

dist/css/app.css

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Resources/LogResource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public static function table(Table $table): Table
6363
->all()
6464
)
6565
->extraAttributes(fn (Log $record): array => [
66-
'wire:click' => $record->attachments->isNotEmpty() ? 'mountTableAction("attachments", "' . $record->getKey() . '")' : '',
66+
'wire:click' => new HtmlString($record->attachments->isNotEmpty() ? "mountTableAction('attachments', '{$record->getKey()}')" : ''),
6767
'class' => $record->attachments->isNotEmpty() ? 'cursor-pointer' : '',
6868
]),
6969

0 commit comments

Comments
 (0)