We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7d62ffe + 48d60b9 commit b03c0daCopy full SHA for b03c0da
src/Models/Traits/HasFilamentComments.php
@@ -11,7 +11,7 @@ public function filamentComments(): HasMany
11
{
12
return $this
13
->hasMany(FilamentComment::class, 'subject_id')
14
- ->where('subject_type', static::class)
+ ->where('subject_type', $this->getMorphClass())
15
->latest();
16
}
17
0 commit comments