change: deny page direct access
This commit is contained in:
parent
a7ea081784
commit
b0a6d660ef
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ const { data: pages } = await useAsyncData("pages", () =>
|
|||
},
|
||||
},
|
||||
filters: {
|
||||
...(active_page_id.value == "" ? { slug: params[0] } : {}),
|
||||
...(active_page_id.value == "" ? { slug: params[0], ref_only_access: true } : {}),
|
||||
},
|
||||
})
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue