From 68400e80311148a9eaead85873c1103101d687d1 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Fri, 21 Aug 2015 10:04:08 +0930 Subject: [PATCH] No need to truncate --- .../likes/js/forum/src/components/PostLikedNotification.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/extensions/likes/js/forum/src/components/PostLikedNotification.js b/extensions/likes/js/forum/src/components/PostLikedNotification.js index 89156493e..b78cb16aa 100644 --- a/extensions/likes/js/forum/src/components/PostLikedNotification.js +++ b/extensions/likes/js/forum/src/components/PostLikedNotification.js @@ -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(); } }