add auth and group only to groupSlug pages

This commit is contained in:
Kuchenpirat 2024-02-02 14:45:30 +00:00
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);