Skip to content

Commit

Permalink
Fix redirect session from speaker not working (#191)
Browse files Browse the repository at this point in the history
* Only show audio translation option if available

* redirect to session in speaker not working

* remove unused code
  • Loading branch information
odkhang authored Aug 2, 2024
1 parent cc492fb commit d4616cc
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions webapp/src/views/schedule/speakers/item.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ export default {
speaker: null
}
},
provide () {
return {
generateSessionLinkUrl: this.generateSessionLinkUrl
}
},
computed: {
...mapState('schedule', ['schedule']),
...mapGetters('schedule', ['sessionsLookup', 'favs']),
Expand All @@ -57,11 +62,12 @@ export default {
}, { immediate: true })
}
},
mounted () {
this.$nextTick(() => {
})
},
methods: {}
mounted () {},
methods: {
generateSessionLinkUrl (sessionData) {
return `/schedule/talks/${sessionData.session.id}`
}
}
}
</script>
<style lang="stylus">
Expand Down

0 comments on commit d4616cc

Please sign in to comment.