Fix issue with loading repositories in GithubPrivateRepository.php
This commit is contained in:
parent
2ffc3f497b
commit
a6b3beafbb
1 changed files with 3 additions and 1 deletions
|
|
@ -79,7 +79,9 @@ public function loadRepositories($github_app_id)
|
|||
$this->loadRepositoryByPage();
|
||||
}
|
||||
}
|
||||
$this->selected_repository_id = $this->repositories[0]['id'];
|
||||
if ($this->repositories->count() > 0) {
|
||||
$this->selected_repository_id = $this->repositories[0]['id'];
|
||||
}
|
||||
$this->current_step = 'repository';
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue