2021-08-08 20:52:44 -08:00
|
|
|
<template>
|
2021-12-10 19:48:06 -09:00
|
|
|
<v-container>
|
2022-06-03 20:12:32 -08:00
|
|
|
<RecipeOrganizerPage
|
|
|
|
v-if="items"
|
|
|
|
:items="items"
|
|
|
|
:icon="$globals.icons.tags"
|
|
|
|
item-type="categories"
|
|
|
|
@delete="actions.deleteOne"
|
|
|
|
>
|
|
|
|
<template #title> {{ $tc("category.categories") }} </template>
|
|
|
|
</RecipeOrganizerPage>
|
2021-08-08 20:52:44 -08:00
|
|
|
</v-container>
|
|
|
|
</template>
|
2021-12-10 19:48:06 -09:00
|
|
|
|
2021-08-08 20:52:44 -08:00
|
|
|
<script lang="ts">
|
2022-06-03 20:12:32 -08:00
|
|
|
import { defineComponent } from "@nuxtjs/composition-api";
|
|
|
|
import RecipeOrganizerPage from "~/components/Domain/Recipe/RecipeOrganizerPage.vue";
|
|
|
|
import { useCategoryStore } from "~/composables/store";
|
2021-08-08 20:52:44 -08:00
|
|
|
|
|
|
|
export default defineComponent({
|
2021-12-10 19:48:06 -09:00
|
|
|
components: {
|
2022-06-03 20:12:32 -08:00
|
|
|
RecipeOrganizerPage,
|
2021-12-10 19:48:06 -09:00
|
|
|
},
|
2021-08-08 20:52:44 -08:00
|
|
|
setup() {
|
2022-06-03 20:12:32 -08:00
|
|
|
const { items, actions } = useCategoryStore();
|
2021-09-04 20:24:32 -08:00
|
|
|
|
2021-10-07 09:39:47 -08:00
|
|
|
return {
|
2022-06-03 20:12:32 -08:00
|
|
|
items,
|
|
|
|
actions,
|
2021-10-07 09:39:47 -08:00
|
|
|
};
|
|
|
|
},
|
2022-06-03 20:12:32 -08:00
|
|
|
head: {
|
|
|
|
title: "Tags",
|
|
|
|
},
|
2021-08-08 20:52:44 -08:00
|
|
|
});
|
2022-01-07 22:08:05 +01:00
|
|
|
</script>
|