diff --git a/src/components/Channels.vue b/src/components/Channels.vue index e25f3dc..e879e57 100644 --- a/src/components/Channels.vue +++ b/src/components/Channels.vue @@ -3,7 +3,7 @@
- + diff --git a/src/components/Timeline.vue b/src/components/Timeline.vue index 8598305..ea4b65f 100644 --- a/src/components/Timeline.vue +++ b/src/components/Timeline.vue @@ -4,6 +4,9 @@ +
+

No items in this timeline

+
diff --git a/src/store.js b/src/store.js index dddec94..0cc408e 100644 --- a/src/store.js +++ b/src/store.js @@ -179,6 +179,9 @@ export default new Vuex.Store({ commit('clearTimeline', {channel: channel}) }, fetchTimeline({commit}, channel) { + if (!channel.uid) { + channel.uid = 'home'; + } let url = this.state.microsubEndpoint + '?action=timeline&channel=' + channel.uid if (channel.after) { url += '&after=' + channel.after; diff --git a/src/views/Home.vue b/src/views/Home.vue index ac906ca..1a6a434 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -11,14 +11,14 @@
-
+

{{ channel.name }}

- - + +