Skip to content

Commit 2a55852

Browse files
Merge pull request #473 from seyfeb/bugfix/472
Fix cooking time not being saved
2 parents 8858497 + e6fc452 commit 2a55852

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@
106106
[#386](https://github.com./nextcloud/cookbook/pull/386/) @seyfeb
107107
- Fixed trying to remove already removed img DOM nodes in image lazyloading, fixes #462
108108
[#463](https://github.com./nextcloud/cookbook/pull/463/) @seyfeb
109+
- Fixed cooking time being removed if recipe is saved, fixes #472
110+
[#473](https://github.com./nextcloud/cookbook/pull/473/) @seyfeb
109111

110112
### Removed
111113
- Travis build system

src/components/RecipeEdit.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ export default {
295295
timeComps = this.recipe.cookTime ? this.recipe.cookTime.match(/PT(\d+?)H(\d+?)M/) : null
296296
this.cookTime = {
297297
time: timeComps ? [timeComps[1], timeComps[2]] : [0 , 0],
298-
cookTime: this.recipe.cookTime }
298+
paddedTime: this.recipe.cookTime }
299299
300300
timeComps = this.recipe.totalTime ? this.recipe.totalTime.match(/PT(\d+?)H(\d+?)M/) : null
301301

0 commit comments

Comments
 (0)