kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
fix: ensure description is always available in upload metadata form
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2307>pipelines/27771
rodzic
61af75d712
commit
91c6935e2d
|
@ -22,7 +22,8 @@ const props = withDefaults(defineProps<Props>(), {
|
|||
})
|
||||
|
||||
const newValues = reactive<Values>({
|
||||
...(props.values ?? props.upload.import_metadata ?? { description: '' }) as Values
|
||||
description: '',
|
||||
...(props.values ?? props.upload.import_metadata ?? {}) as Values
|
||||
})
|
||||
|
||||
const isLoading = computed(() => !props.upload)
|
||||
|
|
Ładowanie…
Reference in New Issue