mirror of
https://github.com/flarum/core.git
synced 2025-08-02 22:47:33 +02:00
Remove unused notification component
This commit is contained in:
@@ -1,17 +0,0 @@
|
|||||||
import Notification from 'flarum/components/Notification';
|
|
||||||
|
|
||||||
export default class DiscussionStickiedNotification extends Notification {
|
|
||||||
icon() {
|
|
||||||
return 'thumb-tack';
|
|
||||||
}
|
|
||||||
|
|
||||||
href() {
|
|
||||||
const notification = this.props.notification;
|
|
||||||
|
|
||||||
return app.route.discussion(notification.subject(), notification.content().postNumber);
|
|
||||||
}
|
|
||||||
|
|
||||||
content() {
|
|
||||||
return '{username} stickied';
|
|
||||||
}
|
|
||||||
}
|
|
Reference in New Issue
Block a user