From 84242153b1d2ae1cd55be003b4a45730a3f68a04 Mon Sep 17 00:00:00 2001 From: sebdet Date: Thu, 2 Apr 2020 15:31:34 +0200 Subject: 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 Change-Id: Id74855e2935130337bc852df79b3a9fed0d444ac --- ui-react/src/components/dialogs/Tosca/ViewLoopTemplatesModal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui-react/src/components/dialogs/Tosca') 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 { -- cgit 1.2.3-korg