mirror of
https://github.com/flarum/core.git
synced 2025-07-29 04:30:56 +02:00
14 lines
317 B
JavaScript
14 lines
317 B
JavaScript
import EventPost from 'flarum/components/EventPost';
|
|
|
|
export default class DiscussionStickiedPost extends EventPost {
|
|
icon() {
|
|
return 'thumb-tack';
|
|
}
|
|
|
|
descriptionKey() {
|
|
return this.props.post.content().sticky
|
|
? 'sticky.discussion_stickied_post'
|
|
: 'sticky.discussion_unstickied_post';
|
|
}
|
|
}
|