From 89e034057dfe0188e1a1970aff149f0fd239b855 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adem=C3=ADlson=20F=2E=20Tonato?= Date: Thu, 5 Nov 2020 20:21:05 +0000 Subject: [PATCH] fix: update based on code-review suggestions --- webapp/components/NotificationMenu/NotificationMenu.vue | 5 ++--- webapp/pages/notifications/index.vue | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/webapp/components/NotificationMenu/NotificationMenu.vue b/webapp/components/NotificationMenu/NotificationMenu.vue index c53545b91..9b666be4b 100644 --- a/webapp/components/NotificationMenu/NotificationMenu.vue +++ b/webapp/components/NotificationMenu/NotificationMenu.vue @@ -26,7 +26,6 @@ @@ -74,8 +73,8 @@ export default { mutation: markAsReadMutation(this.$i18n), variables, }) - } catch (err) { - this.$toast.error(err.message) + } catch (error) { + this.$toast.error(error.message) } }, async markAllAsRead() { diff --git a/webapp/pages/notifications/index.vue b/webapp/pages/notifications/index.vue index 0c404dc04..803deb1e2 100644 --- a/webapp/pages/notifications/index.vue +++ b/webapp/pages/notifications/index.vue @@ -21,7 +21,6 @@