mirror of
https://github.com/flarum/framework.git
synced 2024-11-27 02:53:37 +08:00
showing start user in class list now
This commit is contained in:
parent
7096da722e
commit
1c7dab6e07
|
@ -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