11<template >
22 <ion-page v-themed-event-styles =" confDescriptor" >
3- <schedule-page :hide-header =" true" :hide-watch-later =" true" ></schedule-page >
3+ <schedule-page :hide-header =" true" :hide-watch-later =" true" :emit-event-on-talk-clicked = " true " @talk-clicked = " openTalk " ></schedule-page >
44 <ion-footer >
55 <em >
66 {{ LL.Open_full_version_of_the_schedule() }}
1313</template >
1414<script setup lang="ts">
1515import {SchedulePage } from " @/router/preloaded-pages" ;
16- import {IonFooter } from " @ionic/vue" ;
16+ import {IonFooter , useIonRouter } from " @ionic/vue" ;
1717import {useSharedConferenceDescriptor } from " @/state/useConferenceDescriptor" ;
1818import {typesafeI18n } from " @/i18n/i18n-vue" ;
19- import {getResolvedEventRootPathFromSpacedEventIdRef , useCurrentSpaceEventIdRef } from " @/services/Spaces" ;
19+ import {
20+ getResolvedEventRootPath ,
21+ getResolvedEventRootPathFromSpacedEventIdRef ,
22+ useCurrentSpaceEventIdRef
23+ } from " @/services/Spaces" ;
2024import {computed } from " vue" ;
25+ import {VoxxrinTalk } from " @/models/VoxxrinTalk" ;
2126
2227const appBaseUrl = import .meta .env .VITE_WHITE_LABEL_PUBLIC_URL ;
2328const appBaseUrlWithoutTrailingSlash = appBaseUrl .substring (0 , appBaseUrl .length - (appBaseUrl [appBaseUrl .length - 1 ]=== ' /' ? 1 : 0 ));
@@ -26,11 +31,16 @@ const spacedEventIdRef = useCurrentSpaceEventIdRef()
2631const {conferenceDescriptor : confDescriptor} = useSharedConferenceDescriptor (spacedEventIdRef );
2732
2833const fullScheduleUrl = computed (() => {
29- return ` ${appBaseUrlWithoutTrailingSlash }/ ${getResolvedEventRootPathFromSpacedEventIdRef (spacedEventIdRef )} `
34+ return ` ${appBaseUrlWithoutTrailingSlash }${getResolvedEventRootPathFromSpacedEventIdRef (spacedEventIdRef )} `
3035})
3136
3237const { LL } = typesafeI18n ()
38+ const spaceEventIdRef = useCurrentSpaceEventIdRef ();
39+ const router = useIonRouter ();
3340
41+ const openTalk = (talk : VoxxrinTalk ) => {
42+ router .push (` ${getResolvedEventRootPath (spaceEventIdRef .value .eventId , spaceEventIdRef .value .spaceToken )}/talks/${talk .id .value }/details ` )
43+ }
3444 </script >
3545<style scoped lang="scss">
3646ion-footer {
0 commit comments