aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores/ServicesStore.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/stores/ServicesStore.js')
-rw-r--r--src/stores/ServicesStore.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stores/ServicesStore.js b/src/stores/ServicesStore.js
index d1fd2be3d..70b775503 100644
--- a/src/stores/ServicesStore.js
+++ b/src/stores/ServicesStore.js
@@ -345,6 +345,7 @@ export default class ServicesStore extends Store {
345 service.initializeWebViewEvents({ 345 service.initializeWebViewEvents({
346 handleIPCMessage: this.actions.service.handleIPCMessage, 346 handleIPCMessage: this.actions.service.handleIPCMessage,
347 openWindow: this.actions.service.openWindow, 347 openWindow: this.actions.service.openWindow,
348 stores: this.stores,
348 }); 349 });
349 service.initializeWebViewListener(); 350 service.initializeWebViewListener();
350 } 351 }
@@ -683,6 +684,8 @@ export default class ServicesStore extends Store {
683 const serviceData = data; 684 const serviceData = data;
684 const recipe = this.stores.recipes.one(recipeId); 685 const recipe = this.stores.recipes.one(recipeId);
685 686
687 if (!recipe) return;
688
686 if (recipe.hasTeamId && recipe.hasCustomUrl && data.team && data.customUrl) { 689 if (recipe.hasTeamId && recipe.hasCustomUrl && data.team && data.customUrl) {
687 delete serviceData.team; 690 delete serviceData.team;
688 } 691 }