diff options
author | Stefan Malzner <stefan@adlk.io> | 2019-10-03 15:35:52 +0200 |
---|---|---|
committer | Stefan Malzner <stefan@adlk.io> | 2019-10-03 15:35:52 +0200 |
commit | b3b19aa2d6a8a64af6ed777acebd22f396632a16 (patch) | |
tree | 1511cf3ace716a568dd5f6ab99846c5c376f282d /src | |
parent | fix(Service): Fix disappearing cursor in services (diff) | |
download | ferdium-app-b3b19aa2d6a8a64af6ed777acebd22f396632a16.tar.gz ferdium-app-b3b19aa2d6a8a64af6ed777acebd22f396632a16.tar.zst ferdium-app-b3b19aa2d6a8a64af6ed777acebd22f396632a16.zip |
check if recipe exists
Diffstat (limited to 'src')
-rw-r--r-- | src/stores/ServicesStore.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stores/ServicesStore.js b/src/stores/ServicesStore.js index 08befe4eb..70b775503 100644 --- a/src/stores/ServicesStore.js +++ b/src/stores/ServicesStore.js | |||
@@ -684,6 +684,8 @@ export default class ServicesStore extends Store { | |||
684 | const serviceData = data; | 684 | const serviceData = data; |
685 | const recipe = this.stores.recipes.one(recipeId); | 685 | const recipe = this.stores.recipes.one(recipeId); |
686 | 686 | ||
687 | if (!recipe) return; | ||
688 | |||
687 | if (recipe.hasTeamId && recipe.hasCustomUrl && data.team && data.customUrl) { | 689 | if (recipe.hasTeamId && recipe.hasCustomUrl && data.team && data.customUrl) { |
688 | delete serviceData.team; | 690 | delete serviceData.team; |
689 | } | 691 | } |