forked from potsda.mn/mobilizon
Merge branch 'fix-event-view-window-title' into 'main'
Fix: Window title in Event View doesn't show the Event title See merge request framasoft/mobilizon!1518
This commit is contained in:
commit
11cb0a4a81
|
@ -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;
|
||||||
}>();
|
}>();
|
|
@ -95,7 +95,7 @@
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import EventComment from "@/components/Comment/EventComment.vue";
|
import EventComment from "@/components/Comment/EventComment.vue";
|
||||||
import IdentityPickerWrapper from "@/views/Account/IdentityPickerWrapper.vue";
|
import IdentityPickerWrapper from "@/components/Account/IdentityPickerWrapper.vue";
|
||||||
import { CommentModeration } from "@/types/enums";
|
import { CommentModeration } from "@/types/enums";
|
||||||
import { CommentModel, IComment } from "../../types/comment.model";
|
import { CommentModel, IComment } from "../../types/comment.model";
|
||||||
import {
|
import {
|
||||||
|
|
|
@ -340,7 +340,7 @@ import { IActor, IPerson } from "@/types/actor";
|
||||||
import { IEvent } from "@/types/event.model";
|
import { IEvent } from "@/types/event.model";
|
||||||
import ParticipationSection from "@/components/Participation/ParticipationSection.vue";
|
import ParticipationSection from "@/components/Participation/ParticipationSection.vue";
|
||||||
import ReportModal from "@/components/Report/ReportModal.vue";
|
import ReportModal from "@/components/Report/ReportModal.vue";
|
||||||
import IdentityPicker from "@/views/Account/IdentityPicker.vue";
|
import IdentityPicker from "@/components/Account/IdentityPicker.vue";
|
||||||
import { EventJoinOptions, ParticipantRole, MemberRole } from "@/types/enums";
|
import { EventJoinOptions, ParticipantRole, MemberRole } from "@/types/enums";
|
||||||
import { GRAPHQL_API_ENDPOINT } from "@/api/_entrypoint";
|
import { GRAPHQL_API_ENDPOINT } from "@/api/_entrypoint";
|
||||||
import { computed, defineAsyncComponent, inject, onMounted, ref } from "vue";
|
import { computed, defineAsyncComponent, inject, onMounted, ref } from "vue";
|
||||||
|
|
Loading…
Reference in a new issue