mirror of
https://github.com/ershisan99/coolify.git
synced 2025-12-16 20:49:28 +00:00
Fix selected repository ID assignment in loadRepositories method
This commit is contained in:
@@ -80,7 +80,7 @@ class GithubPrivateRepository extends Component
|
||||
}
|
||||
}
|
||||
if ($this->repositories->count() > 0) {
|
||||
$this->selected_repository_id = $this->repositories[0]['id'];
|
||||
$this->selected_repository_id = data_get($this->repositories,'0.id');
|
||||
}
|
||||
$this->current_step = 'repository';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user