From d69599a8f423ecd38c04e34279985e7218e4096c Mon Sep 17 00:00:00 2001 From: genofire Date: Fri, 10 Mar 2023 23:18:27 +0100 Subject: [PATCH] fix: migrate to file upload structure with .url --- src/components/AdminDrawer.vue | 4 ++-- src/components/Poster.vue | 6 +++--- src/components/VideoPlayer.vue | 2 +- src/views/Admin/ChannelEvents.vue | 2 +- src/views/Admin/ChannelLive.vue | 2 +- src/views/Admin/ChannelProfile.vue | 5 +++-- src/views/Admin/ChannelRecordings.vue | 2 +- src/views/Main/Live.vue | 2 +- src/views/Single.vue | 2 +- 9 files changed, 14 insertions(+), 13 deletions(-) diff --git a/src/components/AdminDrawer.vue b/src/components/AdminDrawer.vue index d437667..a910f77 100644 --- a/src/components/AdminDrawer.vue +++ b/src/components/AdminDrawer.vue @@ -15,7 +15,7 @@ }" > - + {{ channel.title.slice(0, 2) }} @@ -75,7 +75,7 @@ :to="{ name: 'AdminChannel', params: { channelid: channel.id } }" > - + {{ channel.title.slice(0, 2) }} diff --git a/src/components/Poster.vue b/src/components/Poster.vue index ba521d2..d309439 100644 --- a/src/components/Poster.vue +++ b/src/components/Poster.vue @@ -19,7 +19,7 @@ - + {{ item.name }} diff --git a/src/views/Admin/ChannelLive.vue b/src/views/Admin/ChannelLive.vue index f55f037..6a63230 100644 --- a/src/views/Admin/ChannelLive.vue +++ b/src/views/Admin/ChannelLive.vue @@ -161,7 +161,7 @@ export default { api.Channels.GetStream(this.channelid).then( (resp) => { this.video = resp.data; - if (this.video.poster == "") { + if (this.video.poster) { this.video.poster = resp.data.channel.logo; } }, diff --git a/src/views/Admin/ChannelProfile.vue b/src/views/Admin/ChannelProfile.vue index 625d120..d400684 100644 --- a/src/views/Admin/ChannelProfile.vue +++ b/src/views/Admin/ChannelProfile.vue @@ -38,7 +38,7 @@ style="width: 200px" > - + mdi-pencil @@ -63,7 +63,8 @@ @input="enableSave = true" />