mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update components
This commit is contained in:
parent
acb094fa46
commit
59ede5b1e6
7 changed files with 52 additions and 34 deletions
|
@ -20,9 +20,11 @@
|
|||
});
|
||||
}
|
||||
|
||||
function showMenu(apiClient, itemId) {
|
||||
function showMenu(options) {
|
||||
|
||||
loading.show();
|
||||
var itemId = options.itemId;
|
||||
var apiClient = options.apiClient || connectionManager.getApiClient(options.serverId);
|
||||
var userId = apiClient.getCurrentUserId();
|
||||
|
||||
return apiClient.getItem(userId, itemId).then(function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue