diff --git a/src/components/createproject.vue b/src/components/createproject.vue
index 6305e6c..d6a8591 100644
--- a/src/components/createproject.vue
+++ b/src/components/createproject.vue
@@ -8,9 +8,10 @@
Available remote repositories
-
Remote source: {{remoteSource.name}}
@@ -105,5 +106,9 @@ export default {
font-weight: bold;
}
}
+.remoterepos {
+ margin-top: 1rem;
+ margin-bottom: 1rem;
+}
diff --git a/src/components/remoterepos.vue b/src/components/remoterepos.vue
index 3b5f6c8..bff9970 100644
--- a/src/components/remoterepos.vue
+++ b/src/components/remoterepos.vue
@@ -1,18 +1,21 @@
-
-
-
-
-
- {{repo.path}}
-
+
No remote repositories
@@ -25,7 +28,8 @@ export default {
components: {},
name: "remoterepos",
props: {
- remotesource: String
+ remotesource: Object,
+ selected: Boolean
},
data() {
return {
@@ -38,12 +42,12 @@ export default {
this.selectedrepo = index;
this.$emit("reposelected", this.remoterepos[index].path);
},
- async fetchRemoteRepos(remotesource) {
- this.remoterepos = await userRemoteRepos(remotesource);
+ async fetchRemoteRepos(remotesourceid) {
+ this.remoterepos = await userRemoteRepos(remotesourceid);
}
},
created: function() {
- this.fetchRemoteRepos(this.remotesource);
+ this.fetchRemoteRepos(this.remotesource.id);
}
};
@@ -63,4 +67,8 @@ export default {
font-weight: bold;
}
}
+
+.panel-block input[type="radio"] {
+ margin-right: 0.75em;
+}