File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Filament/Resources/ContactMessageResource/Pages Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ public function mount(int|string $record): void
13
13
{
14
14
parent ::mount ($ record );
15
15
16
- if (! $ this ->record ->is_read ) {
16
+ if (! $ this ->record ->read_at ) {
17
17
$ this ->record ->markAsRead ();
18
18
}
19
19
}
Original file line number Diff line number Diff line change 4
4
5
5
use App \Models \Alternative ;
6
6
use App \Models \Company ;
7
+ use App \Models \ContactMessage ;
7
8
use App \Models \Investor ;
8
9
use App \Models \Person ;
9
10
use App \Models \SimilarSite ;
@@ -53,6 +54,7 @@ public function boot(): void
53
54
'user ' => User::class,
54
55
'tag ' => Tag::class,
55
56
'similar_site ' => SimilarSite::class,
57
+ 'contact_message ' => ContactMessage::class,
56
58
]);
57
59
58
60
// just for \OwenIt\Auditing\Models\Audit::class
You can’t perform that action at this time.
0 commit comments