fix:edit flight models

This commit is contained in:
2026-08-17 14:07:12 +03:30
parent 2694f0cd8a
commit 577bb9ae31
+3 -1
View File
@@ -99,7 +99,9 @@ class Flight extends Model
public function comments()
{
return $this->hasMany(Comment::class);
return $this->hasMany(Comment::class)
->where('status', 1)
->latest();
}
public function favorites()