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

@ -123,6 +123,7 @@ export default defineComponent({
components: {
RecipeIngredientEditor,
},
middleware: ["auth", "group-only"],
setup() {
const { $auth } = useContext();
const panels = ref<number[]>([]);

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();