update images

This commit is contained in:
2026-03-19 21:08:44 +00:00
parent ffbe559f32
commit 1964c0ae70
3 changed files with 11 additions and 7 deletions

View File

@@ -406,7 +406,8 @@ const saveChanges = async () => {
const index = recipes.value.findIndex(r => r.id === selectedRecipe.value.id);
if (index !== -1) {
recipes.value[index] = { ...recipes.value[index], ...payload };
const updatedRecipe = { ...recipes.value[index], ...payload };
recipes.value.splice(index, 1, updatedRecipe);
}
closeDetails();