feat(web): use time buckets of person detail page (3) (#3557)

* feat: add personId to time bucket endpoints

* chore: open api

* feat(web): time bucket on person detail page
This commit is contained in:
Jason Rasmussen
2023-08-05 09:58:52 -04:00
committed by GitHub
parent 68b5202730
commit ff32506c5e
19 changed files with 402 additions and 316 deletions

View File

@@ -9,12 +9,10 @@ export const load = (async ({ locals, parent, params }) => {
}
const { data: person } = await locals.api.personApi.getPerson({ id: params.personId });
const { data: assets } = await locals.api.personApi.getPersonAssets({ id: params.personId });
const { data: people } = await locals.api.personApi.getAllPeople({ withHidden: false });
return {
user,
assets,
person,
people,
meta: {