diff --git a/app/Livewire/Project/New/GithubPrivateRepository.php b/app/Livewire/Project/New/GithubPrivateRepository.php index 7c1486466..fec0306f6 100644 --- a/app/Livewire/Project/New/GithubPrivateRepository.php +++ b/app/Livewire/Project/New/GithubPrivateRepository.php @@ -79,6 +79,7 @@ public function loadRepositories($github_app_id) $this->loadRepositoryByPage(); } } + $this->repositories = $this->repositories->sortBy('name'); if ($this->repositories->count() > 0) { $this->selected_repository_id = data_get($this->repositories,'0.id'); }