diff options
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 | } |