From 36fd507b4b9a61ec953d245e6d7dd38b9dd6a7db Mon Sep 17 00:00:00 2001 From: Connor Shea Date: Wed, 17 Aug 2016 12:42:16 -0600 Subject: [PATCH] Function should return a boolean. --- .../diff_notes/components/comment_resolve_btn.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/diff_notes/components/comment_resolve_btn.js.es6 b/app/assets/javascripts/diff_notes/components/comment_resolve_btn.js.es6 index 67e9ed30c0d..48bc7d77805 100644 --- a/app/assets/javascripts/diff_notes/components/comment_resolve_btn.js.es6 +++ b/app/assets/javascripts/diff_notes/components/comment_resolve_btn.js.es6 @@ -12,7 +12,7 @@ if (this.discussion) { return this.discussion.isResolvable(); } else { - return undefined; + return false; } }, isDiscussionResolved: function () {