fix: sort repositories by name
This commit is contained in:
parent
c6740cfea0
commit
4d72787c83
@ -79,6 +79,7 @@ class GithubPrivateRepository extends Component
|
|||||||
$this->loadRepositoryByPage();
|
$this->loadRepositoryByPage();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$this->repositories = $this->repositories->sortBy('name');
|
||||||
if ($this->repositories->count() > 0) {
|
if ($this->repositories->count() > 0) {
|
||||||
$this->selected_repository_id = data_get($this->repositories,'0.id');
|
$this->selected_repository_id = data_get($this->repositories,'0.id');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user