Fix bug in Create loop UI
Fix the missing SVG representing the loop template in the Create loop dialog
Issue-ID: CLAMP-811
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Id74855e2935130337bc852df79b3a9fed0d444ac
diff --git a/ui-react/src/components/dialogs/Loop/CreateLoopModal.js b/ui-react/src/components/dialogs/Loop/CreateLoopModal.js
index e382077..c5762a8 100644
--- a/ui-react/src/components/dialogs/Loop/CreateLoopModal.js
+++ b/ui-react/src/components/dialogs/Loop/CreateLoopModal.js
@@ -72,7 +72,7 @@
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 {