playlist folders can now be renamed and created, folders and playlists names can now be edited with context menu

This commit is contained in:
booploops 2022-01-03 06:34:32 -08:00
parent dffd6a4ad0
commit 52b1f3e0ef
3 changed files with 85 additions and 9 deletions

View file

@ -173,7 +173,12 @@
}
},
editPlaylist() {
app.editPlaylist(this.data.id, this.data.attributes.name);
this.app.editPlaylist(this.data.id, this.data.attributes.name);
this.app.playlists.listing.forEach(playlist => {
if (playlist.id == this.data.id) {
playlist.attributes.name = this.data.attributes.name
}
})
this.nameEditing = false
},
addToLibrary(id) {