aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNick Coutsos <[email protected]>2021-11-05 22:26:12 -0400
committerNick Coutsos <[email protected]>2021-11-05 22:26:12 -0400
commit874e3950ed9bd541fd4260973246ce1ebfb63c6d (patch)
treea6f4c2a049454eb6a4b65dc293904b8b422bf78e
parentec7ddd70446f6a4f178c285f6355913b55ca3eda (diff)
downloadkeymap-editor-874e3950ed9bd541fd4260973246ce1ebfb63c6d.tar.gz
keymap-editor-874e3950ed9bd541fd4260973246ce1ebfb63c6d.zip
Fix default repo selection
-rw-r--r--application/components/github-picker.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/components/github-picker.vue b/application/components/github-picker.vue
index 259b35e..e52fcce 100644
--- a/application/components/github-picker.vue
+++ b/application/components/github-picker.vue
@@ -62,7 +62,7 @@ export default {
const selectedRepository = JSON.parse(localStorage.getItem('selectedGithubRepository'))
if (github.repositories.length === 1) {
- this.repo = github.repositories[0].id
+ this.repo = github.repositories[0].full_name
this.loadBranches()
} else if (selectedRepository && github.repositories.find(repo => repo.full_name === selectedRepository)) {
this.repo = selectedRepository