+
Sorry, no repositories were found!
-
+
{{ item.name }}
@@ -96,13 +68,8 @@
Repositories to be added
-
+
@@ -117,18 +84,11 @@
- {
- showDialog = false;
- addRepositories();
- }
- "
- >
+ {
+ showDialog = false;
+ addRepositories();
+ }
+ ">
Add Repositories
Cancel
@@ -207,9 +167,9 @@ export default {
/**
* Loads all (added and unadded) repositories the user is authorized to access into repositoriesCurrentPage.
*/
- loadRepositoryList() {
+ async loadRepositoryList() {
this.countLoadingPromises++;
- loadRepositoryList(this.searchText, this.page, this.perPage)
+ loadRepositoryList()
.then((res) => {
if (!Array.isArray(res)) {
throw "Could not load repository list.";
@@ -240,6 +200,7 @@ export default {
searchRepositoryList(this.searchText, this.perPage, this.repositoriesCurrentPage)
.then((repos) => {
console.log("Loaded Repos", repos);
+
if (!Array.isArray(repos)) {
throw "Could not search repository list.";
}
diff --git a/src/components/DialogCommit.vue b/src/components/DialogCommit.vue
index bcd7bb2..546f620 100644
--- a/src/components/DialogCommit.vue
+++ b/src/components/DialogCommit.vue
@@ -1,15 +1,9 @@
-
+
@@ -29,20 +23,12 @@
mdi-file Select files
-
+
mdi-check
-
+
mdi-alert-circle-outline
@@ -51,22 +37,17 @@
- mdi-plus
- New files
+ mdi-plus
+ New files
-
+
@@ -74,19 +55,16 @@
- mdi-file-document-edit Changed files
+ mdi-file-document-edit Changed
+ files
-
+
@@ -94,22 +72,17 @@
- mdi-delete
- Deleted files
+ mdi-delete
+ Deleted files
-
+
@@ -118,58 +91,36 @@
mdi-message-text Enter commit message
-
+
mdi-check
-
+
mdi-alert-circle-outline
-
+
mdi-information-outline
- Your selected files will be pushed to {{ repo }} on {{ branch }} branch.
+ Your selected files will be pushed to {{ repo }} on {{ branch }} branch.
- {
- handleCommitButtonAction();
- dialogVisible = false;
- $emit('commit');
- }
- "
- >
+ {
+ handleCommitButtonAction();
+ dialogVisible = false;
+ $emit('commit');
+ }
+ ">
Commit & Push
Cancel
@@ -179,7 +130,7 @@