fix: only show redeployment required if status is not exited

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

No files matched your search

+3
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');