aboutsummaryrefslogtreecommitdiff
path: root/src/components/dm_timeline
diff options
context:
space:
mode:
authorlambda <pleromagit@rogerbraun.net>2018-11-14 10:28:54 +0000
committerlambda <pleromagit@rogerbraun.net>2018-11-14 10:28:54 +0000
commitbe6ebc176bf8e863aba7e099a9fde4aa4dca34b0 (patch)
tree91fcf532ec49a6b9dcecb415103ee7bfe70166b7 /src/components/dm_timeline
parent11f8a4f312675a82d5fed9c5e75fed63a8456ffc (diff)
parentc7d469249ec9ce8cc28317a621f2b53360103cf9 (diff)
Merge branch 'dm-tab' into 'develop'
Direct Message tab See merge request pleroma/pleroma-fe!374
Diffstat (limited to 'src/components/dm_timeline')
-rw-r--r--src/components/dm_timeline/dm_timeline.js14
-rw-r--r--src/components/dm_timeline/dm_timeline.vue5
2 files changed, 19 insertions, 0 deletions
diff --git a/src/components/dm_timeline/dm_timeline.js b/src/components/dm_timeline/dm_timeline.js
new file mode 100644
index 00000000..8b5393a9
--- /dev/null
+++ b/src/components/dm_timeline/dm_timeline.js
@@ -0,0 +1,14 @@
+import Timeline from '../timeline/timeline.vue'
+
+const DMs = {
+ computed: {
+ timeline () {
+ return this.$store.state.statuses.timelines.dms
+ }
+ },
+ components: {
+ Timeline
+ }
+}
+
+export default DMs
diff --git a/src/components/dm_timeline/dm_timeline.vue b/src/components/dm_timeline/dm_timeline.vue
new file mode 100644
index 00000000..f03da4d3
--- /dev/null
+++ b/src/components/dm_timeline/dm_timeline.vue
@@ -0,0 +1,5 @@
+<template>
+ <Timeline :title="$t('nav.dms')" v-bind:timeline="timeline" v-bind:timeline-name="'dms'"/>
+</template>
+
+<script src="./dm_timeline.js"></script>