1
0
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:
Toby Zerner
2015-08-21 10:04:08 +09:30
parent d8507f599d
commit 68400e8031

View File

@@ -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();
}
}