aboutsummaryrefslogtreecommitdiffstats
path: root/gui-clamp/ui-react/src/components/loop_viewer/svg/SvgGenerator.js
diff options
context:
space:
mode:
authorLiam Fallon <liam.fallon@est.tech>2022-03-15 12:36:10 +0000
committerGerrit Code Review <gerrit@onap.org>2022-03-15 12:36:10 +0000
commit2f8b6cb2cb865abb850f5828fda584bd9238efbe (patch)
tree0c3142e1d7d367bf914754cf6f7f7e0d5ea08e4b /gui-clamp/ui-react/src/components/loop_viewer/svg/SvgGenerator.js
parent93b5533e44728faa87c291fbf44120ea013fab51 (diff)
parent1e27cabdaf7c89a2c7381c8a46697be007778445 (diff)
Merge "Added more unit tests for overall coverage"
Diffstat (limited to 'gui-clamp/ui-react/src/components/loop_viewer/svg/SvgGenerator.js')
-rw-r--r--gui-clamp/ui-react/src/components/loop_viewer/svg/SvgGenerator.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/gui-clamp/ui-react/src/components/loop_viewer/svg/SvgGenerator.js b/gui-clamp/ui-react/src/components/loop_viewer/svg/SvgGenerator.js
index 2692aef..2eba102 100644
--- a/gui-clamp/ui-react/src/components/loop_viewer/svg/SvgGenerator.js
+++ b/gui-clamp/ui-react/src/components/loop_viewer/svg/SvgGenerator.js
@@ -73,7 +73,6 @@ class SvgGenerator extends React.Component {
}
handleSvgClick(event) {
- console.debug("svg click event received");
if (this.state.clickable) {
var elementName = event.target.parentNode.getAttribute('policyId');
console.info("SVG element clicked", elementName);
@@ -148,7 +147,6 @@ class SvgGenerator extends React.Component {
xPos += (this.boxWidth + this.boxSpace);
allElements.push(this.createOneArrow(xPos - this.boxSpace));
- //createOneBox(xPos, policyId, loopElementModelId , name, title, policyType)
for (var loopElement of this.state.loopCache.getAllLoopElementModels()) {
allElements.push(this.createOneBox(xPos,
@@ -218,6 +216,7 @@ class SvgGenerator extends React.Component {
}
renderSvg() {
+ console.log('renderSvg called');
if (this.state.loopCache.getLoopName() === undefined) {
return [emptySvg];
}