mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-14 20:17:05 +00:00
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:
1 parent
b97240963e
commit
d62b471afe
5 files changed
+8
-13
No files matched your search
@@ -44,7 +44,7 @@ class FileStorage extends Component
|
||||
} catch (\Throwable $e) {
|
||||
return handleError($e, $this);
|
||||
} finally {
|
||||
$this->dispatch('storagesChanged');
|
||||
$this->dispatch('refresh_storages');
|
||||
}
|
||||
}
|
||||
public function convertToFile() {
|
||||
@@ -57,7 +57,7 @@ class FileStorage extends Component
|
||||
} catch (\Throwable $e) {
|
||||
return handleError($e, $this);
|
||||
} finally {
|
||||
$this->dispatch('storagesChanged');
|
||||
$this->dispatch('refresh_storages');
|
||||
}
|
||||
}
|
||||
public function delete() {
|
||||
@@ -68,7 +68,7 @@ class FileStorage extends Component
|
||||
} catch (\Throwable $e) {
|
||||
return handleError($e, $this);
|
||||
} finally {
|
||||
$this->dispatch('storagesChanged');
|
||||
$this->dispatch('refresh_storages');
|
||||
}
|
||||
}
|
||||
public function submit()
|
||||
|
||||
Reference in new issue
Block a user