diff options
author | Tao Shen <shentao@chinamobile.com> | 2017-10-18 09:16:36 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-10-18 09:16:36 +0000 |
commit | ac675fe158efff6093625101157acfa89d8a7942 (patch) | |
tree | c404231333f496875b4a336f39baf8ff7d08bdfc /usecaseui-lcm/src/main/webapp/app/uui/fusion/scripts/controller/lcmController.js | |
parent | da87344dcdb10dfeef0b0c1bbda56ed03769377f (diff) | |
parent | 26027657f8d16762a91dda610bb50162c751c3df (diff) |
Merge "Fix service template is empty."
Diffstat (limited to 'usecaseui-lcm/src/main/webapp/app/uui/fusion/scripts/controller/lcmController.js')
-rw-r--r-- | usecaseui-lcm/src/main/webapp/app/uui/fusion/scripts/controller/lcmController.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usecaseui-lcm/src/main/webapp/app/uui/fusion/scripts/controller/lcmController.js b/usecaseui-lcm/src/main/webapp/app/uui/fusion/scripts/controller/lcmController.js index e2db747a..3f67584d 100644 --- a/usecaseui-lcm/src/main/webapp/app/uui/fusion/scripts/controller/lcmController.js +++ b/usecaseui-lcm/src/main/webapp/app/uui/fusion/scripts/controller/lcmController.js @@ -110,7 +110,9 @@ app.controller('lcmCtrl', ['$scope', '$uibModal', '$log', '$http', '$timeout', ' function($scope, $uibModalInstance, ServiceTemplateService, customer, serviceType) { var ctrl = this; - ctrl.templates = ServiceTemplateService.getAllServiceTemplates(); + ctrl.templates = ServiceTemplateService.getAllServiceTemplates(function (t) { + ctrl.templates = t; + }); ctrl.changeInput = function (serviceTemplate) { var paras = serviceTemplate.inputs.map(function (input) { |