Fixed bug in album.setTitle.
This commit is contained in:
parent
ffef7e3d8f
commit
f7e31c2be7
@ -340,8 +340,11 @@ album.setTitle = function(albumIDs) {
|
||||
|
||||
if (albums.json || album.subjson) {
|
||||
albumIDs.forEach(function(id) {
|
||||
albums.getByID(id).title = newTitle
|
||||
view.album.content.title(id)
|
||||
let a = albums.getByID(id)
|
||||
if (a) {
|
||||
a.title = newTitle
|
||||
view.album.content.title(id)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user