summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/notes/components/discussion_notes.vue
diff options
context:
space:
mode:
authorNathan Friend <nathan@gitlab.com>2019-06-03 22:51:02 +0000
committerMike Greiling <mike@pixelcog.com>2019-06-03 22:51:02 +0000
commitbee3c7e847e4c682f3b808ebfddcc0b6746c2d60 (patch)
treeddac4275d2f6da90e0e5651c5d030d861425a7d9 /app/assets/javascripts/notes/components/discussion_notes.vue
parentdeebe0bf1ed222450092397e683dff746c7979b3 (diff)
downloadgitlab-ce-bee3c7e847e4c682f3b808ebfddcc0b6746c2d60.tar.gz
Comply with `no-implicit-coercion` rule (CE)
This commit is the result of running `yarn eslint --fix` after enabling the `no-implicit-coercion` ESLint rule. This rule has been added to our ESLint config here: https://gitlab.com/gitlab-org/gitlab-eslint-config/merge_requests/14
Diffstat (limited to 'app/assets/javascripts/notes/components/discussion_notes.vue')
-rw-r--r--app/assets/javascripts/notes/components/discussion_notes.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/notes/components/discussion_notes.vue b/app/assets/javascripts/notes/components/discussion_notes.vue
index 5b6163a6214..228bb652597 100644
--- a/app/assets/javascripts/notes/components/discussion_notes.vue
+++ b/app/assets/javascripts/notes/components/discussion_notes.vue
@@ -49,7 +49,7 @@ export default {
computed: {
...mapGetters(['userCanReply']),
hasReplies() {
- return !!this.replies.length;
+ return Boolean(this.replies.length);
},
replies() {
return this.discussion.notes.slice(1);