mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-08-06 14:05:21 +02:00
add auth and group only to groupSlug pages
This commit is contained in:
parent
5ef23e0330
commit
0301713214
7 changed files with 7 additions and 1 deletions
|
@ -22,6 +22,7 @@ export default defineComponent({
|
|||
components: {
|
||||
RecipeOrganizerPage,
|
||||
},
|
||||
middleware: ["auth", "group-only"],
|
||||
setup() {
|
||||
const { items, actions } = useCategoryStore();
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@ export default defineComponent({
|
|||
components: {
|
||||
RecipeOrganizerPage,
|
||||
},
|
||||
middleware: ["auth", "group-only"],
|
||||
setup() {
|
||||
const { items, actions } = useTagStore();
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -22,6 +22,7 @@ export default defineComponent({
|
|||
components: {
|
||||
RecipeOrganizerPage,
|
||||
},
|
||||
middleware: ["auth", "group-only"],
|
||||
setup() {
|
||||
const toolStore = useToolStore();
|
||||
const dialog = ref(false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue