Don't show in progress PIREPs in admin and order the map data
This commit is contained in:
@@ -240,7 +240,8 @@ class Pirep extends Model
|
||||
*/
|
||||
public function getReadOnlyAttribute(): bool
|
||||
{
|
||||
return $this->state !== PirepState::PENDING;
|
||||
return $this->state !== PirepState::PENDING
|
||||
&& $this->state != PirepState::IN_PROGRESS;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user