Skip to content

Commit

Permalink
Merge pull request #1478 from chalettu/reconfigure_dialogs
Browse files Browse the repository at this point in the history
Fixed issue with dialogs not loading on reconfigure

(cherry picked from commit cb7c805)

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1635034
  • Loading branch information
AllenBW authored and simaishi committed Nov 14, 2018
1 parent dcec439 commit 3efa650
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/app/states/services/reconfigure/reconfigure.state.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,9 @@ function StateController ($state, $stateParams, CollectionsApi, EventNotificatio
vm.title = __('Service Details')
vm.service = {}
vm.serviceId = $stateParams.serviceId
vm.dialogs = [setFieldValueDefaults(vm.service.provision_dialog)]
vm.submitDialog = submitDialog
vm.cancelDialog = cancelDialog
vm.backToService = backToService
vm.dialogUrl = `services/${vm.service.service_template_catalog_id}/service_templates`
vm.refreshField = refreshField
vm.setDialogData = setDialogData
vm.dialogData = {}
Expand All @@ -43,6 +41,8 @@ function StateController ($state, $stateParams, CollectionsApi, EventNotificatio
CollectionsApi.get('services', $stateParams.serviceId, options).then((response) => {
vm.loading = false
vm.service = response
vm.dialogUrl = `services/${vm.service.service_template_catalog_id}/service_templates`
vm.dialogs = [setFieldValueDefaults(vm.service.provision_dialog)]
})
}
init()
Expand Down

0 comments on commit 3efa650

Please sign in to comment.