From 8b6c5e6e0f9467ddbfd5f08ebf803ba5c5db3cbb Mon Sep 17 00:00:00 2001 From: diminator Date: Fri, 21 Aug 2015 16:39:06 +0200 Subject: [PATCH] username boolean --- js/components/ascribe_detail/note.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/components/ascribe_detail/note.js b/js/components/ascribe_detail/note.js index b22d9602..0f32e5da 100644 --- a/js/components/ascribe_detail/note.js +++ b/js/components/ascribe_detail/note.js @@ -39,7 +39,7 @@ let Note = React.createClass({ }, render() { - if ((this.props.currentUser.username && true || false) && this.props.show) { + if (!!this.props.currentUser.username && this.props.show) { return (