e179dcdb10
* refactor(frontend): ♻️ major rewrite/improvement of use-profile pages * refactor(frontend): ♻️ split webhooks into their own page Co-authored-by: hay-kot <hay-kot@pm.me>
39 lines
1.2 KiB
Vue
39 lines
1.2 KiB
Vue
<template>
|
|
<v-container>
|
|
<BasePageTitle divider>
|
|
<template #header>
|
|
<v-img max-height="100" max-width="100" :src="require('~/static/svgs/manage-group-settings.svg')"></v-img>
|
|
</template>
|
|
<template #title> Group Settings </template>
|
|
These items are shared within your group. Editing one of them will change it for the whole group!
|
|
</BasePageTitle>
|
|
<v-card tag="section" outlined>
|
|
<v-card-text>
|
|
<BaseCardSectionTitle title="Mealplan Categories">
|
|
Set the categories below for the ones that you want to be included in your mealplan random generation.
|
|
<div class="mt-2">
|
|
<BaseButton save @click="actions.updateAll()" />
|
|
</div>
|
|
</BaseCardSectionTitle>
|
|
<DomainRecipeCategoryTagSelector v-if="categories" v-model="categories" />
|
|
</v-card-text>
|
|
</v-card>
|
|
</v-container>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import { defineComponent } from "@nuxtjs/composition-api";
|
|
import { useGroup } from "~/composables/use-groups";
|
|
|
|
export default defineComponent({
|
|
setup() {
|
|
const { categories, actions } = useGroup();
|
|
|
|
return {
|
|
categories,
|
|
actions,
|
|
};
|
|
},
|
|
});
|
|
</script>
|
|
|