title-image popup in event view

4th step
This commit is contained in:
jona 2023-03-23 12:53:28 +01:00
parent f54a90d79d
commit b11189ddc7

View file

@ -300,6 +300,7 @@
:config="config" :config="config"
:user="loggedUser" :user="loggedUser"
@showMapModal="showMap = true" @showMapModal="showMap = true"
@showHeadlineModal="showImage = true"
/> />
</div> </div>
</aside> </aside>
@ -536,6 +537,7 @@ import Tag from "../../components/Tag.vue";
import EventMetadataSidebar from "../../components/Event/EventMetadataSidebar.vue"; import EventMetadataSidebar from "../../components/Event/EventMetadataSidebar.vue";
import EventBanner from "../../components/Event/EventBanner.vue"; import EventBanner from "../../components/Event/EventBanner.vue";
import EventMap from "../../components/Event/EventMap.vue"; import EventMap from "../../components/Event/EventMap.vue";
import EventHeadline from "../../components/Event/EventHeadline.vue";
import PopoverActorCard from "../../components/Account/PopoverActorCard.vue"; import PopoverActorCard from "../../components/Account/PopoverActorCard.vue";
import { IParticipant } from "../../types/participant.model"; import { IParticipant } from "../../types/participant.model";
import { ApolloCache, FetchResult } from "@apollo/client/core"; import { ApolloCache, FetchResult } from "@apollo/client/core";
@ -560,6 +562,7 @@ import { IUser } from "@/types/current-user.model";
EventBanner, EventBanner,
EventMetadataSidebar, EventMetadataSidebar,
EventMap, EventMap,
EventHeadline,
ShareEventModal: () => ShareEventModal: () =>
import( import(
/* webpackChunkName: "shareEventModal" */ "../../components/Event/ShareEventModal.vue" /* webpackChunkName: "shareEventModal" */ "../../components/Event/ShareEventModal.vue"
@ -1167,6 +1170,8 @@ export default class Event extends EventMixin {
showMap = false; showMap = false;
showImage = false;
get routingType(): string | undefined { get routingType(): string | undefined {
return this.config?.maps?.routing?.type; return this.config?.maps?.routing?.type;
} }