Preventing scene poster, stash header and bottom navigation overflow.

This commit is contained in:
2024-03-19 02:19:23 +01:00
parent fce43ed0c6
commit 3fa8bb7486
9 changed files with 145 additions and 62 deletions

View File

@@ -1,7 +1,7 @@
import { fetchScenesById } from '../../src/scenes';
import { fetchScenesById } from '#/src/scenes.js';
export async function onBeforeRender(pageContext) {
const [scene] = await fetchScenesById([Number(pageContext.routeParams.sceneId)]);
const [scene] = await fetchScenesById([Number(pageContext.routeParams.sceneId)], pageContext.user);
return {
pageContext: {