Skip to content

Commit

Permalink
Change service dialog api call to match CUI
Browse files Browse the repository at this point in the history
  • Loading branch information
d-m-u committed May 23, 2018
1 parent 46cc0b7 commit 4b05bc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/app/states/catalogs/details/details.state.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ function Controller ($stateParams, CollectionsApi, EventNotifications, ShoppingC

init()
function setDialogUrl (serviceTemplateCatalogId) {
vm.dialogUrl = `service_catalogs/${serviceTemplateCatalogId}/service_templates`
vm.dialogUrl = `/api/service_dialogs/`

return vm.dialogUrl
}
Expand All @@ -136,7 +136,7 @@ function Controller ($stateParams, CollectionsApi, EventNotifications, ShoppingC
targetId: vm.serviceTemplate.id,
targetType: 'service_template'
}
const url = `${vm.dialogUrl}/${vm.serviceTemplate.id}`
const url = `{$vm.dialogUrl}/${vm.dialogId}`
return DialogFieldRefresh.refreshDialogField(vm.dialogData, [field.name], url, idList)
}
/**
Expand Down

0 comments on commit 4b05bc5

Please sign in to comment.