mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
switch to shared components
This commit is contained in:
parent
c216a7ecdc
commit
e305bf40c8
28 changed files with 789 additions and 723 deletions
|
@ -1,4 +1,4 @@
|
|||
define(['datetime', 'paper-icon-button-light'], function (datetime) {
|
||||
define(['datetime', 'userdataButtons', 'paper-icon-button-light'], function (datetime, userdataButtons) {
|
||||
|
||||
var currentPlayer;
|
||||
|
||||
|
@ -572,7 +572,10 @@
|
|||
|
||||
if (nowPlayingItem.Id) {
|
||||
ApiClient.getItem(Dashboard.getCurrentUserId(), nowPlayingItem.Id).then(function (item) {
|
||||
nowPlayingUserData.innerHTML = LibraryBrowser.getUserDataIconsHtml(item, false);
|
||||
nowPlayingUserData.innerHTML = userdataButtons.getIconsHtml({
|
||||
item: item,
|
||||
includePlayed: false
|
||||
});
|
||||
});
|
||||
} else {
|
||||
nowPlayingUserData.innerHTML = '';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue