mirror of
https://github.com/owntone/owntone-server.git
synced 2025-04-14 00:10:10 -04:00
[web] Consistently return an array instead of an object
This commit is contained in:
parent
4f5e702f5d
commit
582074e8ff
@ -86,7 +86,7 @@ export default {
|
|||||||
if (album.tracks.total) {
|
if (album.tracks.total) {
|
||||||
return album.tracks.items.map((track) => ({ ...track, album }))
|
return album.tracks.items.map((track) => ({ ...track, album }))
|
||||||
}
|
}
|
||||||
return {}
|
return []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user