mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
implement suggestions
This commit is contained in:
parent
ad252c6df1
commit
c887e960aa
3 changed files with 4 additions and 9 deletions
|
@ -221,9 +221,7 @@ function updateNowPlayingInfo(context, state, serverId) {
|
|||
item: fullItem,
|
||||
user: user
|
||||
}, options))
|
||||
.catch(function (err) {
|
||||
console.debug('[remotecontrol:updateNowPlayingInfo] click event reject', err);
|
||||
});
|
||||
.catch(() => { /* no-op */ });
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -129,9 +129,7 @@ function showContextMenu(card, options) {
|
|||
notifyRefreshNeeded(card, options.itemsContainer);
|
||||
}
|
||||
})
|
||||
.catch(err => {
|
||||
console.debug('[shortcuts.showContextMenu] itemContextMenu.show reject', err);
|
||||
});
|
||||
.catch(() => { /* no-op */ });
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -1854,6 +1854,7 @@ export default function (view, params) {
|
|||
}).catch((error) => {
|
||||
console.error('failed to get item or current user: ', error);
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
function splitVersions(instance, page, apiClient, pageParams) {
|
||||
|
@ -1974,9 +1975,7 @@ export default function (view, params) {
|
|||
reload(self, view, params);
|
||||
}
|
||||
})
|
||||
.catch(function(err) {
|
||||
console.debug('[index:onMoreCommandsClick] reject', err);
|
||||
});
|
||||
.catch(() => { /* no-op */ });
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue