diff options
Diffstat (limited to 'src/web/app/mobile/views/pages/notification.vue')
| -rw-r--r-- | src/web/app/mobile/views/pages/notification.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/app/mobile/views/pages/notification.vue b/src/web/app/mobile/views/pages/notification.vue index 03d8b6cad8..0685bd1278 100644 --- a/src/web/app/mobile/views/pages/notification.vue +++ b/src/web/app/mobile/views/pages/notification.vue @@ -21,7 +21,7 @@ export default Vue.extend({ const ok = window.confirm('%i18n:mobile.tags.mk-notifications-page.read-all%'); if (!ok) return; - this.$root.$data.os.api('notifications/mark_as_read_all'); + (this as any).api('notifications/mark_as_read_all'); }, onFetched() { Progress.done(); |