From 4ab1de45f4a3313d6b45e8f0a212e7c64a71d3d1 Mon Sep 17 00:00:00 2001 From: userquin Date: Mon, 9 Jan 2023 18:21:16 +0100 Subject: [PATCH] chore: update entries --- components/account/AccountCard.vue | 1 + components/notification/NotificationCard.vue | 10 ++++------ components/status/StatusCard.vue | 3 ++- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/components/account/AccountCard.vue b/components/account/AccountCard.vue index 7fb5bac6..f2118fdd 100644 --- a/components/account/AccountCard.vue +++ b/components/account/AccountCard.vue @@ -17,6 +17,7 @@ cacheAccount(account) shrink overflow-hidden :to="getAccountRoute(account)" + @click="$rememberAccountPosition(getAccountRoute(account).fullPath)" />
diff --git a/components/notification/NotificationCard.vue b/components/notification/NotificationCard.vue index 14e8a74a..d902a301 100644 --- a/components/notification/NotificationCard.vue +++ b/components/notification/NotificationCard.vue @@ -4,17 +4,15 @@ import type { mastodon } from 'masto' const { notification } = defineProps<{ notification: mastodon.v1.Notification }>() - -const nuxt = useNuxtApp() -function click() { - nuxt.$rememberAccountPosition(getAccountRoute(notification.account).fullPath) -}