aboutsummaryrefslogtreecommitdiffstats
path: root/ui-react/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'ui-react/src/components')
-rw-r--r--ui-react/src/components/dialogs/Loop/CreateLoopModal.js2
-rw-r--r--ui-react/src/components/dialogs/Tosca/ViewLoopTemplatesModal.js2
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 e38207792..c5762a8d4 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 18c444046..cec6722d0 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 {