mirror of
https://github.com/flarum/framework.git
synced 2024-11-26 18:33:40 +08:00
showing start user in class list now
This commit is contained in:
parent
4b45ce0a58
commit
090b05736a
|
@ -115,6 +115,10 @@ export default class Post extends Component {
|
|||
classes.push('Post--by-actor');
|
||||
}
|
||||
|
||||
if (app.current.discussion && app.current.discussion.attribute('startUserId') == this.props.post.user().id()) {
|
||||
classes.push('Post--by-start-user')
|
||||
}
|
||||
|
||||
return classes;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user