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
7c9cbbcd8d
commit
d58436bfba
5 changed files with 182 additions and 17 deletions
|
@ -16,12 +16,12 @@
|
|||
},
|
||||
"devDependencies": {},
|
||||
"ignore": [],
|
||||
"version": "1.1.108",
|
||||
"_release": "1.1.108",
|
||||
"version": "1.1.109",
|
||||
"_release": "1.1.109",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "1.1.108",
|
||||
"commit": "ff2072d7422bd9e216a23e667c8fe08910c43265"
|
||||
"tag": "1.1.109",
|
||||
"commit": "04821a9677127cb08a156986385d3345ea9d7e74"
|
||||
},
|
||||
"_source": "https://github.com/MediaBrowser/Emby.ApiClient.Javascript.git",
|
||||
"_target": "^1.1.51",
|
||||
|
|
|
@ -113,9 +113,11 @@
|
|||
itemId = itemId.toString();
|
||||
}
|
||||
|
||||
var serverInfo;
|
||||
|
||||
if (startsWith(itemId, localViewPrefix)) {
|
||||
|
||||
var serverInfo = apiclientcore.serverInfo();
|
||||
serverInfo = apiclientcore.serverInfo();
|
||||
|
||||
if (serverInfo) {
|
||||
return localassetmanager.getViews(serverInfo.Id, userId).then(function (items) {
|
||||
|
@ -136,7 +138,7 @@
|
|||
|
||||
if (startsWith(itemId, localPrefix)) {
|
||||
|
||||
var serverInfo = apiclientcore.serverInfo();
|
||||
serverInfo = apiclientcore.serverInfo();
|
||||
|
||||
if (serverInfo) {
|
||||
return localassetmanager.getLocalItem(serverInfo.Id, stripStart(itemId, localPrefix)).then(function (item) {
|
||||
|
@ -220,9 +222,9 @@
|
|||
|
||||
function createEmptyList() {
|
||||
var result = {
|
||||
Items: new Array(),
|
||||
Items: [],
|
||||
TotalRecordCount: 0
|
||||
}
|
||||
};
|
||||
|
||||
return result;
|
||||
}
|
||||
|
@ -445,6 +447,6 @@
|
|||
self.getPinStatus = apiclientcore.getPinStatus;
|
||||
self.exchangePin = apiclientcore.exchangePin;
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue