fix dbcontainerstatusjob
This commit is contained in:
parent
7160f50322
commit
ac76870d67
@ -39,7 +39,9 @@ public function handle(): void
|
||||
);
|
||||
|
||||
if ($this->database->status === 'running' && $status !== 'running') {
|
||||
$this->database->environment->project->team->notify(new StatusChanged($this->database));
|
||||
if (data_get($this->database, 'environment.project.team')) {
|
||||
$this->database->environment->project->team->notify(new StatusChanged($this->database));
|
||||
}
|
||||
}
|
||||
if ($this->database->status !== $status) {
|
||||
$this->database->status = $status;
|
||||
|
Loading…
Reference in New Issue
Block a user