summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Zallmann <tzallmann@gitlab.com>2018-01-17 12:11:33 +0100
committerTim Zallmann <tzallmann@gitlab.com>2018-01-17 12:11:33 +0100
commitd50440778160372fb7d6cd4bee7217e65a675c72 (patch)
tree26780885775cb5ef2e7689c0371ffc8bc69e9663
parent98bc387b3eb627ea3a2b59256f121ea37675b04a (diff)
downloadgitlab-ce-d50440778160372fb7d6cd4bee7217e65a675c72.tar.gz
Linting Fixes
-rw-r--r--app/assets/javascripts/ide/components/repo_commit_section.vue2
-rw-r--r--app/assets/javascripts/ide/components/repo_editor.vue2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/ide/components/repo_commit_section.vue b/app/assets/javascripts/ide/components/repo_commit_section.vue
index 554f69081da..96b1bb78c1d 100644
--- a/app/assets/javascripts/ide/components/repo_commit_section.vue
+++ b/app/assets/javascripts/ide/components/repo_commit_section.vue
@@ -149,7 +149,7 @@ you started editing. Would you like to create a new branch?`)"
type="submit"
:disabled="commitButtonDisabled"
class="btn btn-default btn-sm append-right-10 prepend-left-10"
- :class="{ disabled: this.submitCommitsLoading }"
+ :class="{ disabled: submitCommitsLoading }"
>
<i
v-if="submitCommitsLoading"
diff --git a/app/assets/javascripts/ide/components/repo_editor.vue b/app/assets/javascripts/ide/components/repo_editor.vue
index f3d2e02599e..9ffc57358ea 100644
--- a/app/assets/javascripts/ide/components/repo_editor.vue
+++ b/app/assets/javascripts/ide/components/repo_editor.vue
@@ -71,8 +71,8 @@ export default {
})
.then(() => this.setupEditor())
.catch((err) => {
- throw err;
flash('Error setting up monaco. Please try again.');
+ throw err;
});
},
setupEditor() {