diff options
author | Christophe Closset <christophe.closset@intl.att.com> | 2020-04-02 13:42:56 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-04-02 13:42:56 +0000 |
commit | 6273ed4047c866f73664b6f0b94f22170ab53cd3 (patch) | |
tree | f3914b6debcc85268a24137449b8c4a080e60e57 /ui-react/src/components | |
parent | 8d446271551b11cac19a4f2c848c648f542bf721 (diff) | |
parent | 84242153b1d2ae1cd55be003b4a45730a3f68a04 (diff) |
Merge "Fix bug in Create loop UI"
Diffstat (limited to 'ui-react/src/components')
-rw-r--r-- | ui-react/src/components/dialogs/Loop/CreateLoopModal.js | 2 | ||||
-rw-r--r-- | ui-react/src/components/dialogs/Tosca/ViewLoopTemplatesModal.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ui-react/src/components/dialogs/Loop/CreateLoopModal.js b/ui-react/src/components/dialogs/Loop/CreateLoopModal.js index e3820779..c5762a8d 100644 --- a/ui-react/src/components/dialogs/Loop/CreateLoopModal.js +++ b/ui-react/src/components/dialogs/Loop/CreateLoopModal.js @@ -72,7 +72,7 @@ export default class CreateLoopModal extends React.Component { handleDropdownListChange(e) { this.setState({ chosenTemplateName: e.value }); - TemplateService.getBlueprintMicroServiceTemplates(e.value).then(svgXml => { + TemplateService.getBlueprintMicroServiceTemplateSvg(e.value).then(svgXml => { if (svgXml.length !== 0) { this.setState({ content: svgXml }) } else { diff --git a/ui-react/src/components/dialogs/Tosca/ViewLoopTemplatesModal.js b/ui-react/src/components/dialogs/Tosca/ViewLoopTemplatesModal.js index 18c44404..cec6722d 100644 --- a/ui-react/src/components/dialogs/Tosca/ViewLoopTemplatesModal.js +++ b/ui-react/src/components/dialogs/Tosca/ViewLoopTemplatesModal.js @@ -113,7 +113,7 @@ export default class ViewLoopTemplatesModal extends React.Component { getBlueprintMicroServiceTemplate(templateName) { if (typeof templateName !== "undefined") { - TemplateService.getBlueprintMicroServiceTemplate(templateName).then(svgXml => { + TemplateService.getBlueprintMicroServiceTemplateSvg(templateName).then(svgXml => { if (svgXml.length !== 0) { this.setState({ content: svgXml }) } else { |