Fix: Window title in Event View doesn't show the Event title

- Prevent IdentityPicker from setting the window title
This commit is contained in:
summersamara 2023-12-24 10:11:22 +01:00
parent b89f4f47fa
commit 81ca3e052f

View file

@ -60,16 +60,11 @@ import { useCurrentUserIdentities } from "@/composition/apollo/actor";
import { computed } from "vue"; import { computed } from "vue";
import AccountCircle from "vue-material-design-icons/AccountCircle.vue"; import AccountCircle from "vue-material-design-icons/AccountCircle.vue";
import { useI18n } from "vue-i18n"; import { useI18n } from "vue-i18n";
import { useHead } from "@unhead/vue";
const { identities } = useCurrentUserIdentities(); const { identities } = useCurrentUserIdentities();
const { t } = useI18n({ useScope: "global" }); const { t } = useI18n({ useScope: "global" });
useHead({
title: computed(() => t("Identities")),
});
const props = defineProps<{ const props = defineProps<{
modelValue: IPerson; modelValue: IPerson;
}>(); }>();