mirror of
https://github.com/owntone/owntone-server.git
synced 2025-04-12 23:42:32 -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) {
|
||||
return album.tracks.items.map((track) => ({ ...track, album }))
|
||||
}
|
||||
return {}
|
||||
return []
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user