1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-07-24 15:49:42 +02:00

fix(frontend): 🐛 fix section titles carrying over on deleted items (#765)

* fix(frontend): 🐛 fix section titles carrying over on deleted items

Added a UUID generator to generate unique id's and prevent list changes from causing proper virtual dom re-renders.

* lazy load json editor

* fix ingredient rendering error

* move text to input

* update settings styling

* improve mobile view

Co-authored-by: Hayden <hay-kot@pm.me>
This commit is contained in:
Hayden 2021-10-31 14:46:46 -08:00 committed by GitHub
parent 909bc85205
commit 40462a95f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 195 additions and 88 deletions

View file

@ -80,10 +80,11 @@ export interface Recipe {
comments?: CommentOut[];
}
export interface RecipeIngredient {
ref: string;
title: string;
note: string;
unit: RecipeIngredientUnit;
food: RecipeIngredientFood;
unit?: RecipeIngredientUnit | null;
food?: RecipeIngredientFood | null;
disableAmount: boolean;
quantity: number;
}