diff options
| author | Shpuld Shpuldson <shpuld@gmail.com> | 2017-05-31 11:47:18 +0300 |
|---|---|---|
| committer | Shpuld Shpuldson <shpuld@gmail.com> | 2017-05-31 11:47:18 +0300 |
| commit | 5ad4d043e7514a26a395cf72215a74362c4ca2e0 (patch) | |
| tree | e30d6a51857fa3ee59a982537004a3f504482cfb /src/components/notifications/notifications.js | |
| parent | e621be1428f844a39fdb0bf44ff6d0f2af7ff253 (diff) | |
Enable reply/rt/fav for mention notifications by using a barebones status in place of plain notification content.
Diffstat (limited to 'src/components/notifications/notifications.js')
| -rw-r--r-- | src/components/notifications/notifications.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/components/notifications/notifications.js b/src/components/notifications/notifications.js index c8d5e212..c0c86c68 100644 --- a/src/components/notifications/notifications.js +++ b/src/components/notifications/notifications.js @@ -1,3 +1,5 @@ +import Status from '../status/status.vue' + import { sortBy, take, filter } from 'lodash' const Notifications = { @@ -23,6 +25,9 @@ const Notifications = { return this.unseenNotifications.length } }, + components: { + Status + }, watch: { unseenCount (count) { if (count > 0) { |
