From a9f7b3fb7b39050757d5ee0ce603e74bd69920bf Mon Sep 17 00:00:00 2001 From: Sebastian Fey Date: Mon, 9 Nov 2020 15:27:57 +0100 Subject: [PATCH] Removed null assignment when creating new recipe Signed-off-by: Sebastian Fey Signed-off-by: Christian Wolf --- CHANGELOG.md | 2 ++ src/components/RecipeEdit.vue | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 87837c9a2..2f40c1e85 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -54,6 +54,8 @@ [#371](https://github.com/nextcloud/cookbook/pull/371) @christianlupus - Hide tooltips in printouts [#343](https://github.com/nextcloud/cookbook/pull/343/) @christianlupus +- Creating new recipe not possible due to null reference + [#378](https://github.com/nextcloud/cookbook/pull/378/) @seyfeb ### Removed - Travis build system diff --git a/src/components/RecipeEdit.vue b/src/components/RecipeEdit.vue index 9662d0f5e..83619d52c 100644 --- a/src/components/RecipeEdit.vue +++ b/src/components/RecipeEdit.vue @@ -190,7 +190,6 @@ export default { // Always set the active page last! this.$store.dispatch('setPage', { page: 'edit' }) } else { - this.recipe = this.recipeInit this.prepTime = [0, 0] this.cookTime = [0, 0] this.totalTime = [0, 0]