kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
fix(front): channel upload fixes
rodzic
1a5c9cecaa
commit
f75cbf5884
|
@ -293,7 +293,7 @@ const uploadedFilesById = computed(() => uploadedFiles.value.reduce((acc: Record
|
|||
//
|
||||
|
||||
const baseImportMetadata = computed(() => ({
|
||||
channel: values.channel,
|
||||
channel: selectedChannel,
|
||||
import_status: 'draft',
|
||||
import_metadata: { license: values.license, album: values.album }
|
||||
}))
|
||||
|
|
|
@ -27,17 +27,16 @@ const props = withDefaults(defineProps<Props>(), {
|
|||
})
|
||||
|
||||
// TODO: Make Tags work
|
||||
|
||||
type Item = { type: 'custom' | 'preset', label: string }
|
||||
type tagsModel = {
|
||||
currents: Item[],
|
||||
others?: Item[],
|
||||
}
|
||||
|
||||
const tags = ref({
|
||||
const tags = ref<tagsModel>({
|
||||
currents: [],
|
||||
others: []
|
||||
} satisfies tagsModel)
|
||||
})
|
||||
|
||||
// TODO: check if `position: 0` is a good default
|
||||
const newValues = reactive<Values>({
|
||||
|
|
Ładowanie…
Reference in New Issue