Refactor dispatch event names to use snake_case in General.php, FileStorage.php, Storage.php, All.php, and Show.php

This commit is contained in:
Andras Bacsai
2024-04-17 11:32:35 +02:00
parent b97240963e
commit d62b471afe
5 changed files with 8 additions and 13 deletions

View File

@@ -186,7 +186,7 @@ class General extends Component
}
$this->dispatch('success', 'Docker compose file loaded.');
$this->dispatch('compose_loaded');
$this->dispatch('refreshStorages');
$this->dispatch('refresh_storages');
} catch (\Throwable $e) {
$this->application->docker_compose_location = $this->initialDockerComposeLocation;
$this->application->docker_compose_pr_location = $this->initialDockerComposePrLocation;