1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-07-24 15:49:42 +02:00

add auth and group only to groupSlug pages

This commit is contained in:
Kuchenpirat 2024-02-02 14:45:30 +00:00
parent 5ef23e0330
commit 0301713214
7 changed files with 7 additions and 1 deletions

View file

@ -33,6 +33,7 @@ import AdvancedOnly from "~/components/global/AdvancedOnly.vue";
export default defineComponent({
components: { AdvancedOnly },
middleware: ["auth", "group-only"],
setup() {
const { $auth, $globals, i18n } = useContext();