From 58a120d3d7b5a77fc1d2e3b80500ac09eb8f5334 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20Hu=C3=9F?= Date: Wed, 22 Jan 2020 15:13:13 +0100 Subject: [PATCH] Clean up --- .../NotificationsTable/NotificationsTable.vue | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/webapp/components/NotificationsTable/NotificationsTable.vue b/webapp/components/NotificationsTable/NotificationsTable.vue index bf3850eb8..fde59a67a 100644 --- a/webapp/components/NotificationsTable/NotificationsTable.vue +++ b/webapp/components/NotificationsTable/NotificationsTable.vue @@ -128,19 +128,6 @@ export default { }, }, methods: { - isComment(notificationSource) { - return notificationSource.__typename === 'Comment' - }, - params(notificationSource) { - const post = this.isComment(notificationSource) ? notificationSource.post : notificationSource - return { - id: post.id, - slug: post.slug, - } - }, - hashParam(notificationSource) { - return this.isComment(notificationSource) ? `#commentId-${notificationSource.id}` : '' - }, markNotificationAsRead(notificationSourceId) { this.$emit('markNotificationAsRead', notificationSourceId) },