mirror of
				https://github.com/mealie-recipes/mealie.git
				synced 2025-10-31 10:13:32 -04:00 
			
		
		
		
	Refactor/composables-folder (#787)
* move api clients and rename * organize recipes composables * rewrite useRecipeContext * refactor(frontend): ♻️ abstract common ingredient functionality. * feat(frontend): ✨ add scale, and back to recipe button + hide ingredients if none * update regex to mach 11. instead of just 1. * minor UX improvements Co-authored-by: Hayden K <hay-kot@pm.me>
This commit is contained in:
		| @@ -92,14 +92,14 @@ | ||||
| <script lang="ts"> | ||||
| import { defineComponent, useAsync } from "@nuxtjs/composition-api"; | ||||
| import AdminEventViewer from "@/components/Domain/Admin/AdminEventViewer.vue"; | ||||
| import { useAdminApi, useApiSingleton } from "~/composables/use-api"; | ||||
| import { useAdminApi, useUserApi } from "~/composables/api"; | ||||
| import { useAsyncKey } from "~/composables/use-utils"; | ||||
|  | ||||
| export default defineComponent({ | ||||
|   components: { AdminEventViewer }, | ||||
|   layout: "admin", | ||||
|   setup() { | ||||
|     const api = useApiSingleton(); | ||||
|     const api = useUserApi(); | ||||
|  | ||||
|     const adminApi = useAdminApi(); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user