From 81bf4df1a57802516cd41c4e13032d2c0eb9e030 Mon Sep 17 00:00:00 2001 From: Dan Ungureanu Date: Wed, 13 Mar 2019 21:26:09 +0200 Subject: [PATCH] DEV: Fix lint. --- app/assets/javascripts/discourse/widgets/post.js.es6 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/widgets/post.js.es6 b/app/assets/javascripts/discourse/widgets/post.js.es6 index da63b16d971..a7c0c452d9e 100644 --- a/app/assets/javascripts/discourse/widgets/post.js.es6 +++ b/app/assets/javascripts/discourse/widgets/post.js.es6 @@ -441,7 +441,10 @@ createWidget("post-notice", { }, html(attrs) { - const user = this.siteSettings.prioritize_username_in_ux || !attrs.name ? attrs.username : attrs.name; + const user = + this.siteSettings.prioritize_username_in_ux || !attrs.name + ? attrs.username + : attrs.name; let text, icon; if (attrs.postNoticeType === "first") { icon = "hands-helping";