diff --git a/webapp/components/PostCard/index.vue b/webapp/components/PostCard/index.vue index 87d70b720..6cf5b5d7c 100644 --- a/webapp/components/PostCard/index.vue +++ b/webapp/components/PostCard/index.vue @@ -103,14 +103,6 @@ export default { if (!author) return false return this.user.id === this.post.author.id } - }, - methods: { - href(post) { - return this.$router.resolve({ - name: 'post-id-slug', - params: { id: post.id, slug: post.slug } - }).href - } } } diff --git a/webapp/components/notifications/Notification/NotificationPostCard.vue b/webapp/components/notifications/Notification/NotificationPostCard.vue index 6197f0bda..108882cbb 100644 --- a/webapp/components/notifications/Notification/NotificationPostCard.vue +++ b/webapp/components/notifications/Notification/NotificationPostCard.vue @@ -57,14 +57,6 @@ export default { return excerpt } - }, - methods: { - href(post) { - return this.$router.resolve({ - name: 'post-id-slug', - params: { id: post.id, slug: post.slug } - }).href - } } }