mirror of
				https://github.com/mealie-recipes/mealie.git
				synced 2025-11-03 18:53:17 -05:00 
			
		
		
		
	feature/new-feature-cleanup (#389)
* add json editor to theme editor * add toolbars tools to recipe sections * fix recipe yield * add updated_date to recipe schema * update time cards * fix mobile buttons * fix asset URL * fix PG errors CRUD * remove -d from docker-pro * fix theme tests * remvoe old typing * abstract count function Co-authored-by: hay-kot <hay-kot@pm.me>
This commit is contained in:
		@@ -1,4 +1,5 @@
 | 
			
		||||
import { vueApp } from "../main";
 | 
			
		||||
import { recipe } from "@/utils/recipe";
 | 
			
		||||
 | 
			
		||||
// TODO: Migrate to Mixins
 | 
			
		||||
const notifyHelpers = {
 | 
			
		||||
@@ -9,7 +10,8 @@ const notifyHelpers = {
 | 
			
		||||
  info: "notify-info-color",
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
export default {
 | 
			
		||||
export const utils = {
 | 
			
		||||
  recipe: recipe,
 | 
			
		||||
  getImageURL(image) {
 | 
			
		||||
    return `/api/recipes/${image}/image?image_type=small`;
 | 
			
		||||
  },
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user