aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores/ServicesStore.js
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2019-10-03 15:35:52 +0200
committerLibravatar Stefan Malzner <stefan@adlk.io>2019-10-03 15:35:52 +0200
commitb3b19aa2d6a8a64af6ed777acebd22f396632a16 (patch)
tree1511cf3ace716a568dd5f6ab99846c5c376f282d /src/stores/ServicesStore.js
parentfix(Service): Fix disappearing cursor in services (diff)
downloadferdium-app-b3b19aa2d6a8a64af6ed777acebd22f396632a16.tar.gz
ferdium-app-b3b19aa2d6a8a64af6ed777acebd22f396632a16.tar.zst
ferdium-app-b3b19aa2d6a8a64af6ed777acebd22f396632a16.zip
check if recipe exists
Diffstat (limited to 'src/stores/ServicesStore.js')
-rw-r--r--src/stores/ServicesStore.js2
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 }