1
0
mirror of https://github.com/flarum/core.git synced 2025-07-29 04:30:56 +02:00
Files
php-flarum/extensions/sticky/js/src/components/DiscussionStickiedPost.js
2015-07-20 18:14:42 +09:30

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';
}
}