Preventing scene poster, stash header and bottom navigation overflow.
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user