DEV: lint file

long story but we are sorting out our new GitHub actions so we missed this
This commit is contained in:
Sam Saffron 2019-12-11 10:48:39 +11:00
parent bc05d3bcdd
commit 7b0cbfc1f9
1 changed files with 3 additions and 1 deletions

View File

@ -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>";
}
});