From 4730139dc77738f224dbc448763d9a97411dc488 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 26 Feb 2017 17:38:50 +0900 Subject: [PATCH] [Client] Fix bug --- src/web/app/mobile/tags/notifications.tag | 2 ++ src/web/app/mobile/tags/page/notifications.tag | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/web/app/mobile/tags/notifications.tag b/src/web/app/mobile/tags/notifications.tag index e73877266..039a9a4b0 100644 --- a/src/web/app/mobile/tags/notifications.tag +++ b/src/web/app/mobile/tags/notifications.tag @@ -70,6 +70,8 @@ loading: false, notifications: notifications }); + + this.trigger('fetched'); }); this.stream.on('notification', this.onNotification); diff --git a/src/web/app/mobile/tags/page/notifications.tag b/src/web/app/mobile/tags/page/notifications.tag index 1d35d79ed..ae19303e5 100644 --- a/src/web/app/mobile/tags/page/notifications.tag +++ b/src/web/app/mobile/tags/page/notifications.tag @@ -17,7 +17,7 @@ this.Progress.start(); - this.refs.ui.refs.notifications.on('loaded', () => { + this.refs.ui.refs.notifications.on('fetched', () => { this.Progress.done(); }); });