From 534e43f72d5f261dfd4bb250f671de7651a919c2 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 9228950209..bbcae05f10 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; + } + } } });