added support for rooms, added listitem groups to groupings
- added app.showRoom(href: string) - applied to browse and groupings - added listitem groups to groupings and browse
This commit is contained in:
parent
d83793d538
commit
dcec6ded34
3 changed files with 27 additions and 3 deletions
|
@ -1406,6 +1406,16 @@ const app = new Vue({
|
|||
})
|
||||
}
|
||||
},
|
||||
/**
|
||||
* @param {string} url, href for the initial request
|
||||
* @memberof app
|
||||
*/
|
||||
async showRoom(url) {
|
||||
let self = this
|
||||
const response = await this.mk.api.v3.music(url)
|
||||
let room = response.data.data[0]
|
||||
this.showCollection(room.relationships.contents, room.attributes.title)
|
||||
},
|
||||
async showCollection(response, title, type, requestBody = {}) {
|
||||
let self = this
|
||||
console.debug(response)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue