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

Cleanup logs and make playlists public by default

This commit is contained in:
Bill Thornton 2024-05-06 03:10:52 -04:00
parent 6c226ba59f
commit bae48c4023
3 changed files with 8 additions and 5 deletions

View file

@ -39,8 +39,9 @@ async function init(page, item) {
playlistId: item.Id,
userId: apiClient.getCurrentUserId()
})
.catch(() => {
.catch(err => {
// If a user doesn't have access, then the request will 404 and throw
console.info('[PlaylistViewer] Failed to fetch playlist permissions', err);
return { data: {} };
});
isEditable = !!data.CanEdit;