1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-08-05 13:35:23 +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

@ -17,6 +17,7 @@ import RecipeTimeline from "~/components/Domain/Recipe/RecipeTimeline.vue";
export default defineComponent({
components: { RecipeTimeline },
middleware: ["auth", "group-only"],
setup() {
const api = useUserApi();
const ready = ref<boolean>(false);