Permalink
Browse files

fix(Service Import): Fix issue with import of on-premise services

  • Loading branch information...
adlk committed Oct 30, 2017
1 parent 2e07a02 commit 7c7d27d4e0e52b8da22f973e10bbb34f4b8a433c
Showing with 3 additions and 5 deletions.
  1. +3 −5 src/stores/ServicesStore.js
@@ -145,21 +145,19 @@ export default class ServicesStore extends Store {
serviceData.name = data.name;
}
if (data.team) {
if (data.team && !data.customURL) {
serviceData.team = data.team;
}
if (data.team) {
serviceData.customUrl = data.customURL;
if (data.team && data.customURL) {
serviceData.customUrl = data.team;
}
this.actions.service.createService({
recipeId: id,
serviceData,
redirect: false,
});
return 'hello world';
}
@action async _updateService({ serviceId, serviceData, redirect = true }) {

0 comments on commit 7c7d27d

Please sign in to comment.