summaryrefslogtreecommitdiffstats
path: root/ui-react/src/components/dialogs/Policy/ToscaViewer.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui-react/src/components/dialogs/Policy/ToscaViewer.js')
-rw-r--r--ui-react/src/components/dialogs/Policy/ToscaViewer.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/ui-react/src/components/dialogs/Policy/ToscaViewer.js b/ui-react/src/components/dialogs/Policy/ToscaViewer.js
index d150e39db..fa83aa245 100644
--- a/ui-react/src/components/dialogs/Policy/ToscaViewer.js
+++ b/ui-react/src/components/dialogs/Policy/ToscaViewer.js
@@ -49,18 +49,18 @@ export default class ToscaViewer extends React.Component {
getToscaModelYamlFor(toscaData) {
PolicyToscaService.getToscaPolicyModelYaml(toscaData["policyModelType"], toscaData["version"]).then(respYamlPolicyTosca => {
this.setState({
- yamlPolicyTosca: respYamlPolicyTosca,
- })
+ yamlPolicyTosca: respYamlPolicyTosca,
+ })
});
}
render() {
return (
- <ToscaDiv>
- <pre>{this.state.yamlPolicyTosca}</pre>
- <Button variant="secondary" title="Create a new policy version from the defined parameters"
- onClick={this.handleCreateNewVersion}>Create New Version</Button>
- </ToscaDiv>
+ <ToscaDiv>
+ <pre>{this.state.yamlPolicyTosca}</pre>
+ <Button variant="secondary" title="Create a new policy version from the defined parameters"
+ onClick={this.handleCreateNewVersion}>Create New Version</Button>
+ </ToscaDiv>
);
}
-} \ No newline at end of file
+}