[web] Fix property which is not required

This commit is contained in:
Alain Nussbaumer 2024-02-28 13:42:25 +01:00
parent 0fc2032e4a
commit e7ae478e9b

View File

@ -111,7 +111,12 @@ import webapi from '@/webapi'
export default { export default {
name: 'ModalDialogTrackSpotify', name: 'ModalDialogTrackSpotify',
props: { props: {
album: { required: true, type: Object }, album: {
default() {
return {}
},
type: Object
},
show: Boolean, show: Boolean,
track: { required: true, type: Object } track: { required: true, type: Object }
}, },