fix: only show redeployment required if status is not exited

This commit is contained in:
Andras Bacsai
2024-02-16 08:34:30 +01:00
parent f5cb2dbdcf
commit 83becdb19d
5 changed files with 7 additions and 4 deletions

View File

@@ -212,6 +212,9 @@ class Application extends BaseModel
);
}
public function isExited() {
return (bool) str($this->status)->startsWith('exited');
}
public function realStatus()
{
return $this->getRawOriginal('status');