mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update fetch requests
This commit is contained in:
parent
5f6d68e3b5
commit
7c3fa06651
10 changed files with 74 additions and 39 deletions
|
@ -759,9 +759,10 @@ var Dashboard = {
|
|||
|
||||
if (!apiClient) {
|
||||
|
||||
var deferred = $.Deferred();
|
||||
deferred.reject();
|
||||
return deferred.promise();
|
||||
return new Promise(function (resolve, reject) {
|
||||
|
||||
reject();
|
||||
});
|
||||
}
|
||||
|
||||
if (!Dashboard.getPluginSecurityInfoPromise) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue