refactor: Replace Flux UI components with native HTML/Alpine.js and update Composer dependencies.
This commit is contained in:
@@ -234,7 +234,7 @@ class VPSReinstallModal extends Component
|
||||
|
||||
if ($response->successful()) {
|
||||
session()->flash('success', __('Yêu cầu cài lại hệ điều hành đã được gửi thành công.'));
|
||||
$this->dispatch('close-modal', ['name' => 'reinstall-vm']);
|
||||
$this->dispatch('close-reinstall-modal');
|
||||
} else {
|
||||
$errorMessage = $response->json('message') ?? __('Có lỗi xảy ra khi gửi yêu cầu.');
|
||||
session()->flash('error', $errorMessage);
|
||||
|
||||
Reference in New Issue
Block a user