1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

implement suggestions

This commit is contained in:
Sky-High 2023-10-25 23:32:49 +02:00 committed by Bill Thornton
parent ad252c6df1
commit c887e960aa
3 changed files with 4 additions and 9 deletions

View file

@ -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 */ });
});
});
});

View file

@ -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 */ });
});
});
});

View file

@ -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 */ });
});
});
}