mirror of
https://github.com/tiennm99/coolify.git
synced 2026-07-13 03:05:05 +00:00
fix: reset cloud-init fields when closing server creation modal
Add cloud-init script fields to the resetSelection() method that's called when the modal is closed. This ensures a clean slate when reopening the "Connect a Hetzner Server" view. Fields reset: - cloud_init_script - save_cloud_init_script - cloud_init_script_name - selected_cloud_init_script_id 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -103,6 +103,10 @@ class ByHetzner extends Component
|
||||
{
|
||||
$this->selected_token_id = null;
|
||||
$this->current_step = 1;
|
||||
$this->cloud_init_script = null;
|
||||
$this->save_cloud_init_script = false;
|
||||
$this->cloud_init_script_name = null;
|
||||
$this->selected_cloud_init_script_id = null;
|
||||
}
|
||||
|
||||
public function loadTokens()
|
||||
|
||||
Reference in New Issue
Block a user