From 8e8d1a7627b2f7c049dc68643298b89d814e09fc Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 2 Jun 2018 19:19:58 +0900 Subject: [PATCH] Fix bug --- .../mobile/views/components/notification.vue | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/src/client/app/mobile/views/components/notification.vue b/src/client/app/mobile/views/components/notification.vue index 922895020..bbcae05f1 100644 --- a/src/client/app/mobile/views/components/notification.vue +++ b/src/client/app/mobile/views/components/notification.vue @@ -66,15 +66,15 @@ @@ -89,6 +89,17 @@ export default Vue.extend({ return { getNoteSummary }; + }, + methods: { + onNoteUpdated(note) { + switch (this.notification.type) { + case 'quote': + case 'reply': + case 'mention': + Vue.set(this.notification, 'note', note); + break; + } + } } });