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
|
@ -202,14 +202,17 @@
|
|||
}
|
||||
|
||||
ApiClient.getItem(Dashboard.getCurrentUserId(), item.Id).then(function (fullItem) {
|
||||
context.querySelector('.nowPlayingPageUserDataButtons').innerHTML = userdataButtons.getIconsHtml({
|
||||
userdataButtons.fill({
|
||||
item: fullItem,
|
||||
includePlayed: false,
|
||||
style: 'fab-mini'
|
||||
style: 'fab-mini',
|
||||
element: context.querySelector('.nowPlayingPageUserDataButtons')
|
||||
});
|
||||
});
|
||||
} else {
|
||||
context.querySelector('.nowPlayingPageUserDataButtons').innerHTML = '';
|
||||
userdataButtons.destroy({
|
||||
element: context.querySelector('.nowPlayingPageUserDataButtons')
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue