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

@ -97,7 +97,7 @@ import RecipeOrganizerSelector from "~/components/Domain/Recipe/RecipeOrganizerS
export default defineComponent({
components: { draggable, RecipeOrganizerSelector },
middleware: "auth",
middleware: ["auth", "group-only"],
setup() {
const { cookbooks, actions } = useCookbooks();
return {