Skip to content

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

DEV: lint file

Sam Saffron7b0cbfc1f988
diff --git a/app/assets/javascripts/discourse/widgets/quick-access-item.js.es6 b/app/assets/javascripts/discourse/widgets/quick-access-item.js.es6
index 978ec5025ec..5b9bdfd25c7 100644
--- a/app/assets/javascripts/discourse/widgets/quick-access-item.js.es6
+++ b/app/assets/javascripts/discourse/widgets/quick-access-item.js.es6
@@ -69,6 +69,8 @@ createWidget("quick-access-item", {
_usernameHtml() {
// Generate an empty `<span>` even if there is no username, because the
// first `<span>` is styled differently.
- return this.attrs.username ? `<span>${this.attrs.username}</span> ` : "<span></span>";
+ return this.attrs.username
+ ? `<span>${this.attrs.username}</span> `
+ : "<span></span>";
}
});