From 46a847200146b025ae93d969424ed302741e66cb Mon Sep 17 00:00:00 2001 From: wheat Date: Tue, 24 Jan 2023 15:46:33 -0500 Subject: [PATCH] feat(preferences): option to hide account hover card (#1431) --- components/account/AccountHoverWrapper.vue | 4 +++- composables/settings/definition.ts | 2 ++ locales/en.json | 1 + pages/settings/preferences/index.vue | 6 ++++++ 4 files changed, 12 insertions(+), 1 deletion(-) diff --git a/components/account/AccountHoverWrapper.vue b/components/account/AccountHoverWrapper.vue index edb47748..de4466fa 100644 --- a/components/account/AccountHoverWrapper.vue +++ b/components/account/AccountHoverWrapper.vue @@ -8,13 +8,15 @@ const props = defineProps<{ }>() const account = props.account || (props.handle ? useAccountByHandle(props.handle!) : undefined) +const userSettings = useUserSettings() + defineOptions({ inheritAttrs: false, })