mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
implement keep up to
This commit is contained in:
parent
633e2f0222
commit
2efcbc740d
14 changed files with 111 additions and 43 deletions
|
@ -596,13 +596,16 @@
|
|||
|
||||
if (nowPlayingItem.Id) {
|
||||
ApiClient.getItem(Dashboard.getCurrentUserId(), nowPlayingItem.Id).then(function (item) {
|
||||
nowPlayingUserData.innerHTML = userdataButtons.getIconsHtml({
|
||||
userdataButtons.fill({
|
||||
item: item,
|
||||
includePlayed: false
|
||||
includePlayed: false,
|
||||
element: nowPlayingUserData
|
||||
});
|
||||
});
|
||||
} else {
|
||||
nowPlayingUserData.innerHTML = '';
|
||||
userdataButtons.destroy({
|
||||
element: nowPlayingUserData
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue