summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/sidebar
diff options
context:
space:
mode:
authorLuke "Jared" Bennett <lbennett@gitlab.com>2017-09-15 17:40:29 +0100
committerLuke "Jared" Bennett <lbennett@gitlab.com>2017-09-15 17:40:29 +0100
commit1b52d8a4832f0231fa3f6c5cb28d065bbea9ba94 (patch)
treec4de8a85de6d9276218d2b0bf762fed54b268517 /app/assets/javascripts/sidebar
parent6d59795ebbe51c99317ead0be62591a5f0926c92 (diff)
downloadgitlab-ce-1b52d8a4832f0231fa3f6c5cb28d065bbea9ba94.tar.gz
Fix static analysis
Diffstat (limited to 'app/assets/javascripts/sidebar')
-rw-r--r--app/assets/javascripts/sidebar/components/lock/lock_issue_sidebar.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/sidebar/components/lock/lock_issue_sidebar.vue b/app/assets/javascripts/sidebar/components/lock/lock_issue_sidebar.vue
index c24edf6154d..a6a39207648 100644
--- a/app/assets/javascripts/sidebar/components/lock/lock_issue_sidebar.vue
+++ b/app/assets/javascripts/sidebar/components/lock/lock_issue_sidebar.vue
@@ -57,7 +57,7 @@ export default {
discussion_locked: locked,
})
.then(() => location.reload())
- .catch(() => Flash(this.__(`Something went wrong trying to change the locked state of this ${issuableDisplayName(this.issuableType)}`)));
+ .catch(() => Flash(this.__(`Something went wrong trying to change the locked state of this ${this.issuableDisplayName(this.issuableType)}`)));
},
},
};