Fix selected repository ID assignment in loadRepositories method

This commit is contained in:
Andras Bacsai 2024-03-05 09:21:12 +01:00
parent a6b3beafbb
commit 863acf988e

View File

@ -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';
}