From c36636bd2d6aceb45ca1127fd7257c1c29edd360 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Mon, 29 Apr 2024 11:59:19 +0200 Subject: [PATCH] Add dispatch('refreshEnvs') to loadComposeFile method --- app/Livewire/Project/Application/General.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Livewire/Project/Application/General.php b/app/Livewire/Project/Application/General.php index 6926e52cb..873422985 100644 --- a/app/Livewire/Project/Application/General.php +++ b/app/Livewire/Project/Application/General.php @@ -186,6 +186,7 @@ class General extends Component $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;