Fix branch selection and handle missing service

This commit is contained in:
Andras Bacsai committed 2024-01-24 12:26:14 +01:00
1 parent 744609e7e9
commit 7d754558b0
3 files changed
+6 -3

No files matched your search

@@ -95,7 +95,7 @@ class GithubPrivateRepository extends Component
$this->loadBranchByPage();
}
}
$this->selected_branch_name = data_get($this->branches,'0.name');
$this->selected_branch_name = data_get($this->branches, '0.name', 'main');
}
protected function loadBranchByPage()