aboutsummaryrefslogtreecommitdiff
path: root/src/components/friends_timeline
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/friends_timeline')
-rw-r--r--src/components/friends_timeline/friends_timeline.js11
-rw-r--r--src/components/friends_timeline/friends_timeline.vue10
2 files changed, 21 insertions, 0 deletions
diff --git a/src/components/friends_timeline/friends_timeline.js b/src/components/friends_timeline/friends_timeline.js
new file mode 100644
index 00000000..948b23a4
--- /dev/null
+++ b/src/components/friends_timeline/friends_timeline.js
@@ -0,0 +1,11 @@
+import Timeline from '../timeline/timeline.vue'
+const FriendsTimeline = {
+ components: {
+ Timeline
+ },
+ computed: {
+ timeline () { return this.$store.state.statuses.timelines.friends }
+ }
+}
+
+export default FriendsTimeline
diff --git a/src/components/friends_timeline/friends_timeline.vue b/src/components/friends_timeline/friends_timeline.vue
new file mode 100644
index 00000000..03e518c6
--- /dev/null
+++ b/src/components/friends_timeline/friends_timeline.vue
@@ -0,0 +1,10 @@
+<template>
+ <div class="timeline panel panel-default">
+ <div class="panel-heading">Friends Timeline</div>
+ <div class="panel-body">
+ <Timeline v-bind:timeline="timeline" />
+ </div>
+ </div>
+</template>
+
+<script src="./friends_timeline.js"></script>