some fixes to the heart button
This commit is contained in:
parent
25221521cd
commit
3c92dc5e83
3 changed files with 41 additions and 7 deletions
|
@ -1448,6 +1448,12 @@ const app = new Vue({
|
|||
self.getLibrarySongsFull(true)
|
||||
})
|
||||
},
|
||||
removeFromLibrary(kind,id) {
|
||||
let self = this
|
||||
this.mk.api.library.remove({[kind]: id }).then((data) => {
|
||||
self.getLibrarySongsFull(true)
|
||||
})
|
||||
},
|
||||
async loadYTLyrics() {
|
||||
const track = (this.mk.nowPlayingItem != null) ? this.mk.nowPlayingItem.title ?? '' : '';
|
||||
const artist = (this.mk.nowPlayingItem != null) ? this.mk.nowPlayingItem.artistName ?? '' : '';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue