feat(web): timeline bucket for albums (4) (#3604)

* feat: server changes for album timeline

* feat(web): album timeline view

* chore: open api

* chore: remove archive action

* fix: favorite for non-owners
This commit is contained in:
Jason Rasmussen
2023-08-11 12:00:51 -04:00
committed by GitHub
parent 36dc7bd924
commit 5cd13227ad
47 changed files with 1014 additions and 757 deletions
@@ -7,12 +7,12 @@ export const load = (async ({ params, locals: { api, user } }) => {
throw redirect(302, AppRoute.AUTH_LOGIN);
}
const albumId = params['albumId'];
try {
const { data: album } = await api.albumApi.getAlbumInfo({ id: albumId });
const { data: album } = await api.albumApi.getAlbumInfo({ id: params.albumId, withoutAssets: true });
return {
album,
user,
meta: {
title: album.albumName,
},