diff --git a/web/src/lib/components/album-page/albums-list.svelte b/web/src/lib/components/album-page/albums-list.svelte index 92773ba6bc..1e308b463a 100644 --- a/web/src/lib/components/album-page/albums-list.svelte +++ b/web/src/lib/components/album-page/albums-list.svelte @@ -155,6 +155,16 @@ albums = key.sortFn(key.sortDesc, sharedAlbums); break; } + + default: { + albums = key.sortFn( + key.sortDesc, + [...sharedAlbums, ...ownedAlbums].filter( + (album, index, self) => index === self.findIndex((item) => album.id === item.id), + ), + ); + break; + } } $albumViewSettings.sortDesc = key.sortDesc;