diff --git a/src/web/app/desktop/views/components/home.vue b/src/web/app/desktop/views/components/home.vue index e815239d3..8e64a2d83 100644 --- a/src/web/app/desktop/views/components/home.vue +++ b/src/web/app/desktop/views/components/home.vue @@ -10,15 +10,15 @@ - + - - + + diff --git a/src/web/app/desktop/views/components/timeline.vue b/src/web/app/desktop/views/components/timeline.vue index 875a7961e..a3f27412d 100644 --- a/src/web/app/desktop/views/components/timeline.vue +++ b/src/web/app/desktop/views/components/timeline.vue @@ -59,6 +59,7 @@ export default Vue.extend({ }).then(posts => { this.posts = posts; this.fetching = false; + this.$emit('loaded'); if (cb) cb(); }); }, diff --git a/src/web/app/desktop/views/pages/home.vue b/src/web/app/desktop/views/pages/home.vue index e19b7fc8f..e1464bab1 100644 --- a/src/web/app/desktop/views/pages/home.vue +++ b/src/web/app/desktop/views/pages/home.vue @@ -1,6 +1,6 @@ @@ -40,6 +40,10 @@ export default Vue.extend({ document.removeEventListener('visibilitychange', this.onVisibilitychange); }, methods: { + loaded() { + Progress.done(); + }, + onStreamPost(post) { if (document.hidden && post.user_id != (this as any).os.i.id) { this.unreadCount++;