Added toasts to Add and Remove from library.
This commit is contained in:
parent
a4bfa72ba7
commit
75b81cc314
1 changed files with 2 additions and 0 deletions
|
@ -2331,6 +2331,7 @@ const app = new Vue({
|
||||||
this.mk.addToLibrary(id).then((data) => {
|
this.mk.addToLibrary(id).then((data) => {
|
||||||
self.getLibrarySongsFull(true)
|
self.getLibrarySongsFull(true)
|
||||||
})
|
})
|
||||||
|
notyf.success('Added to library.');
|
||||||
},
|
},
|
||||||
removeFromLibrary(kind, id) {
|
removeFromLibrary(kind, id) {
|
||||||
let self = this
|
let self = this
|
||||||
|
@ -2342,6 +2343,7 @@ const app = new Vue({
|
||||||
}).then((data) => {
|
}).then((data) => {
|
||||||
self.getLibrarySongsFull(true)
|
self.getLibrarySongsFull(true)
|
||||||
})
|
})
|
||||||
|
notyf.success('Removed from library.')
|
||||||
},
|
},
|
||||||
async loadYTLyrics() {
|
async loadYTLyrics() {
|
||||||
const track = (this.mk.nowPlayingItem != null) ? this.mk.nowPlayingItem.title ?? '' : '';
|
const track = (this.mk.nowPlayingItem != null) ? this.mk.nowPlayingItem.title ?? '' : '';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue