mirror of
				https://github.com/mealie-recipes/mealie.git
				synced 2025-10-31 02:03:35 -04:00 
			
		
		
		
	* fixed typo * merged "all recipes" pagination into recipe card created custom sort card for all recipes refactored backend calls for all recipes to sort/paginate * frontend lint fixes * restored recipes reference * replaced "this" with reference * fix linting errors * re-order context menu * add todo Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
		
			
				
	
	
		
			37 lines
		
	
	
		
			792 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			792 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
| <template>
 | |
|   <v-container>
 | |
|     <RecipeOrganizerPage
 | |
|       v-if="items"
 | |
|       :items="items"
 | |
|       :icon="$globals.icons.tags"
 | |
|       item-type="categories"
 | |
|       @delete="actions.deleteOne"
 | |
|     >
 | |
|       <template #title> {{ $tc("category.categories") }} </template>
 | |
|     </RecipeOrganizerPage>
 | |
|   </v-container>
 | |
| </template>
 | |
| 
 | |
| <script lang="ts">
 | |
| import { defineComponent } from "@nuxtjs/composition-api";
 | |
| import RecipeOrganizerPage from "~/components/Domain/Recipe/RecipeOrganizerPage.vue";
 | |
| import { useCategoryStore } from "~/composables/store";
 | |
| 
 | |
| export default defineComponent({
 | |
|   components: {
 | |
|     RecipeOrganizerPage,
 | |
|   },
 | |
|   setup() {
 | |
|     const { items, actions } = useCategoryStore();
 | |
| 
 | |
|     return {
 | |
|       items,
 | |
|       actions,
 | |
|     };
 | |
|   },
 | |
|   head: {
 | |
|     title: "Categories",
 | |
|   },
 | |
| });
 | |
| </script>
 |