From 5893cf1a6eee2f16392fbbebbbf2c45ec53221b9 Mon Sep 17 00:00:00 2001 From: userquin Date: Sat, 7 Jan 2023 18:30:56 +0100 Subject: [PATCH] chore: include notification card + accounts --- components/notification/NotificationCard.vue | 7 ++++++- components/status/StatusActions.vue | 2 +- components/status/StatusCard.vue | 1 + 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/components/notification/NotificationCard.vue b/components/notification/NotificationCard.vue index 1c5d540e..f906f9c5 100644 --- a/components/notification/NotificationCard.vue +++ b/components/notification/NotificationCard.vue @@ -4,12 +4,17 @@ import type { Notification } from 'masto' const { notification } = defineProps<{ notification: Notification }>() + +const nuxt = useNuxtApp() +function click() { + nuxt.$rememberAccountPosition(getAccountRoute(notification.account).fullPath) +}