fix(songs context menu): check for presence of container before displaying 'showInMusic' item
This commit is contained in:
parent
df4c4d679b
commit
1ae81aebc0
1 changed files with 2 additions and 1 deletions
|
@ -4009,7 +4009,8 @@ const app = new Vue({
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (app.mk.nowPlayingItem._container["attributes"] && app.mk.nowPlayingItem._container.name != "station") {
|
const nowPlayingContainer = app.mk.nowPlayingItem._container;
|
||||||
|
if (nowPlayingContainer && nowPlayingContainer["attributes"] && nowPlayingContainer.name != "station") {
|
||||||
menus.normal.items.find(x => x.id == "showInMusic").hidden = false
|
menus.normal.items.find(x => x.id == "showInMusic").hidden = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue