Fix selected repository ID assignment in loadRepositories method
This commit is contained in:
parent
a6b3beafbb
commit
863acf988e
@ -80,7 +80,7 @@ class GithubPrivateRepository extends Component
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ($this->repositories->count() > 0) {
|
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';
|
$this->current_step = 'repository';
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user