Fix console crash
All checks were successful
repod / nextcloud (push) Successful in 1m5s
repod / nodejs (push) Successful in 1m48s

This commit is contained in:
Michel Roux 2023-08-28 21:25:12 +02:00
parent 928a11e95e
commit 61d55844a2
3 changed files with 10 additions and 7 deletions

View File

@ -17,7 +17,7 @@
:duration="duration" />
<div v-if="!loading" class="player">
<img :src="episode.episodeImage">
<Infos :podcast-url="podcastUrl" />
<Infos />
<Controls :paused="paused" />
<Timer class="timer"
:current-time="currentTime"

View File

@ -1,5 +1,5 @@
<template>
<div>
<div class="controls">
<PauseButton v-if="!paused"
class="pointer"
:size="50"
@ -80,6 +80,10 @@ export default {
</script>
<style scoped>
.controls {
display: flex;
}
.pointer {
cursor: pointer;
}

View File

@ -12,11 +12,10 @@
<script>
export default {
name: 'Infos',
props: {
podcastUrl: {
type: String,
required: true,
},
data() {
return {
podcastUrl: atob(this.$route.params.url),
}
},
computed: {
episode() {