mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-12-08 19:35:14 -05:00
add auth and group only to groupSlug pages
This commit is contained in:
@@ -123,6 +123,7 @@ export default defineComponent({
|
||||
components: {
|
||||
RecipeIngredientEditor,
|
||||
},
|
||||
middleware: ["auth", "group-only"],
|
||||
setup() {
|
||||
const { $auth } = useContext();
|
||||
const panels = ref<number[]>([]);
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user