mirror of
https://github.com/AzuraCast/AzuraCast.git
synced 2024-06-14 13:16:37 +00:00
Fixes #5966 -- Fix property mapping for Podcast episode media/art upload.
This commit is contained in:
parent
33e4c45466
commit
08de0f96dc
|
@ -44,7 +44,7 @@ const props = defineProps({
|
|||
|
||||
const emit = defineEmits(['update:modelValue']);
|
||||
|
||||
const artworkSrc = toRef(props, 'artworkSrc');
|
||||
const artworkSrc = ref(props.artworkSrc);
|
||||
const localSrc = ref(null);
|
||||
|
||||
const src = computed(() => {
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
|
||||
<script setup>
|
||||
import FlowUpload from '~/components/Common/FlowUpload';
|
||||
import {computed, toRef} from "vue";
|
||||
import {computed, ref, toRef} from "vue";
|
||||
import {useAxios} from "~/vendor/axios";
|
||||
|
||||
const props = defineProps({
|
||||
|
@ -55,7 +55,7 @@ const props = defineProps({
|
|||
|
||||
const emit = defineEmits(['update:modelValue']);
|
||||
|
||||
const hasMedia = toRef(props, 'recordHasMedia');
|
||||
const hasMedia = ref(props.recordHasMedia);
|
||||
|
||||
const targetUrl = computed(() => {
|
||||
return (props.editMediaUrl)
|
||||
|
|
Loading…
Reference in New Issue
Block a user