Fix selected repository ID assignment in loadRepositories method
This commit is contained in:
parent
a6b3beafbb
commit
863acf988e
@ -80,7 +80,7 @@ public function loadRepositories($github_app_id)
|
||||
}
|
||||
}
|
||||
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';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user