Add dispatch('refreshEnvs') to loadComposeFile method

This commit is contained in:
Andras Bacsai 2024-04-29 11:59:19 +02:00
parent 6bb05a6780
commit c36636bd2d

View File

@ -186,6 +186,7 @@ public function loadComposeFile($isInit = false)
$this->dispatch('success', 'Docker compose file loaded.');
$this->dispatch('compose_loaded');
$this->dispatch('refresh_storages');
$this->dispatch('refreshEnvs');
} catch (\Throwable $e) {
$this->application->docker_compose_location = $this->initialDockerComposeLocation;
$this->application->docker_compose_pr_location = $this->initialDockerComposePrLocation;