aboutsummaryrefslogtreecommitdiff
path: root/src/components/friends_timeline
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2016-10-28 15:19:42 +0200
committerRoger Braun <roger@rogerbraun.net>2016-10-28 15:19:42 +0200
commit534f2e8195523ffae83ed85f4e9fddf2939929e3 (patch)
tree5504c7406234c448b80d00367e3ff1d87b0b35dd /src/components/friends_timeline
parentf8d6fe41f0c639ce1c3f8072ef94de8e3419f1cf (diff)
Basic statuses.
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>