fix: ensure service state is refreshed and compose configurations are saved after submission
This commit is contained in:
parent
b9846c08cc
commit
9507f602df
1 changed files with 3 additions and 2 deletions
|
|
@ -149,9 +149,10 @@ public function submit($notify = true)
|
|||
$this->service->save();
|
||||
$this->service->saveExtraFields($this->fields);
|
||||
$this->service->parse();
|
||||
$this->service->refresh();
|
||||
$this->service->saveComposeConfigs();
|
||||
});
|
||||
// Refresh and write files after a successful commit
|
||||
$this->service->refresh();
|
||||
$this->service->saveComposeConfigs();
|
||||
|
||||
$this->dispatch('refreshEnvs');
|
||||
$this->dispatch('refreshServices');
|
||||
|
|
|
|||
Loading…
Reference in a new issue