mirror of
https://github.com/flarum/core.git
synced 2025-08-06 08:27:42 +02:00
No need to truncate
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import Notification from 'flarum/components/Notification';
|
||||
import username from 'flarum/helpers/username';
|
||||
import punctuate from 'flarum/helpers/punctuate';
|
||||
import { truncate } from 'flarum/utils/string';
|
||||
|
||||
export default class PostLikedNotification extends Notification {
|
||||
icon() {
|
||||
@@ -27,6 +26,6 @@ export default class PostLikedNotification extends Notification {
|
||||
}
|
||||
|
||||
excerpt() {
|
||||
return truncate(this.props.notification.subject().contentPlain(), 100);
|
||||
return this.props.notification.subject().contentPlain();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user