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, item: fullItem,
user: user user: user
}, options)) }, options))
.catch(function (err) { .catch(() => { /* no-op */ });
console.debug('[remotecontrol:updateNowPlayingInfo] click event reject', err);
});
}); });
}); });
}); });

View file

@ -129,9 +129,7 @@ function showContextMenu(card, options) {
notifyRefreshNeeded(card, options.itemsContainer); notifyRefreshNeeded(card, options.itemsContainer);
} }
}) })
.catch(err => { .catch(() => { /* no-op */ });
console.debug('[shortcuts.showContextMenu] itemContextMenu.show reject', err);
});
}); });
}); });
}); });

View file

@ -1854,6 +1854,7 @@ export default function (view, params) {
}).catch((error) => { }).catch((error) => {
console.error('failed to get item or current user: ', error); console.error('failed to get item or current user: ', error);
}); });
} }
function splitVersions(instance, page, apiClient, pageParams) { function splitVersions(instance, page, apiClient, pageParams) {
@ -1974,9 +1975,7 @@ export default function (view, params) {
reload(self, view, params); reload(self, view, params);
} }
}) })
.catch(function(err) { .catch(() => { /* no-op */ });
console.debug('[index:onMoreCommandsClick] reject', err);
});
}); });
}); });
} }