diff options
Diffstat (limited to 'view/static')
-rw-r--r-- | view/static/ceres.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/view/static/ceres.js b/view/static/ceres.js index 91417a7..35a90fd 100644 --- a/view/static/ceres.js +++ b/view/static/ceres.js @@ -58,6 +58,8 @@ function updateRecipe(event) { const data = new FormData(form); let obj = Object.fromEntries(data.entries()); + obj.is_favorite = form.querySelector('#is_favorite').checked; + obj.steps = []; var steps_container = document.getElementById('steps'); var steps = steps_container.children; |