Skip to content

Commit

Permalink
fix(theme): fixed cms page loading (#495)
Browse files Browse the repository at this point in the history
  • Loading branch information
Frodigo authored Jan 26, 2022
1 parent 034a01e commit e7840b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/theme/pages/Page.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default defineComponent({
const { params } = route.value;
onSSR(async () => {
await loadContent(params.slug || props.identifier);
await loadContent({ identifier: params.slug || props.identifier });
if (error?.value?.content) nuxtError({ statusCode: 404 });
});
return {
Expand Down

0 comments on commit e7840b9

Please sign in to comment.