mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 09:26:54 -06:00
DEV: Fix lint. (#7824)
This commit is contained in:
parent
aa9b9e1930
commit
4f97f85178
@ -69,7 +69,8 @@ const Post = RestModel.extend({
|
||||
return postNumber === 1 ? `${baseUrl}/1` : baseUrl;
|
||||
},
|
||||
|
||||
@computed("username") usernameUrl: userPath,
|
||||
@computed("username")
|
||||
usernameUrl: userPath,
|
||||
|
||||
topicOwner: propertyEqual("topic.details.created_by.id", "user_id"),
|
||||
|
||||
|
@ -205,13 +205,17 @@ const User = RestModel.extend({
|
||||
return suspendedTill && moment(suspendedTill).isAfter();
|
||||
},
|
||||
|
||||
@computed("suspended_till") suspendedForever: isForever,
|
||||
@computed("suspended_till")
|
||||
suspendedForever: isForever,
|
||||
|
||||
@computed("silenced_till") silencedForever: isForever,
|
||||
@computed("silenced_till")
|
||||
silencedForever: isForever,
|
||||
|
||||
@computed("suspended_till") suspendedTillDate: longDate,
|
||||
@computed("suspended_till")
|
||||
suspendedTillDate: longDate,
|
||||
|
||||
@computed("silenced_till") silencedTillDate: longDate,
|
||||
@computed("silenced_till")
|
||||
silencedTillDate: longDate,
|
||||
|
||||
changeUsername(new_username) {
|
||||
return ajax(userPath(`${this.username_lower}/preferences/username`), {
|
||||
|
@ -191,9 +191,7 @@ class Compiler {
|
||||
|
||||
const attrString = `{${attributes.join(", ")}}`;
|
||||
instructions.push(
|
||||
`${parentAcc}.push(virtualDom.h('${
|
||||
node.tag
|
||||
}', ${attrString}, ${innerAcc}));`
|
||||
`${parentAcc}.push(virtualDom.h('${node.tag}', ${attrString}, ${innerAcc}));`
|
||||
);
|
||||
} else {
|
||||
instructions.push(
|
||||
|
Loading…
Reference in New Issue
Block a user