mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-11 16:12:48 +00:00
fix: ensure service state is refreshed and compose configurations are saved after submission
This commit is contained in:
1 parent
b9846c08cc
commit
9507f602df
1 file changed
+3
-2
@@ -149,9 +149,10 @@ class StackForm extends Component
|
||||
$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');
|
||||
|
||||
Reference in new issue
Block a user