aboutsummaryrefslogtreecommitdiff
path: root/src/components/mentions
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2016-11-28 17:37:47 +0100
committerRoger Braun <roger@rogerbraun.net>2016-11-28 17:37:47 +0100
commitcc00eb898fe05a023979fe30cbc4c2490994bbfd (patch)
tree05b83e7cca6e32ee3063cf2e76aa23434d369f61 /src/components/mentions
parent2f7e5c8770719595f3a7c2a2fd5f7ba5f15914d4 (diff)
Switch from moment.js to vue-timeago.
Much smaller filesize for vendor.js, although we'll have to see if all the intervals are ok.
Diffstat (limited to 'src/components/mentions')
-rw-r--r--src/components/mentions/mentions.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/mentions/mentions.js b/src/components/mentions/mentions.js
index 3563101b..e84d1912 100644
--- a/src/components/mentions/mentions.js
+++ b/src/components/mentions/mentions.js
@@ -1,6 +1,6 @@
import Status from '../status/status.vue'
// Temporary
-import { prepareStatus, updateTimestampsInStatuses } from '../../modules/statuses.js'
+import { prepareStatus } from '../../modules/statuses.js'
import { map } from 'lodash'
const Mentions = {
@@ -20,7 +20,7 @@ const Mentions = {
created () {
this.$store.state.api.backendInteractor.fetchMentions({username: this.username})
.then((mentions) => {
- this.mentions = updateTimestampsInStatuses(map(mentions, prepareStatus))
+ this.mentions = map(mentions, prepareStatus)
})
}
}