Skip to content

A platform for community discussion. Free, open, simple.

DEV: Fix lint.

Dan Ungureanu81bf4df1a578
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";