aboutsummaryrefslogtreecommitdiffstats
path: root/ui-react/src/components/dialogs/ConfigurationPolicy
diff options
context:
space:
mode:
authorXue Gao <xg353y@intl.att.com>2019-08-02 13:23:58 +0000
committerGerrit Code Review <gerrit@onap.org>2019-08-02 13:23:58 +0000
commit87f15e6bf472ac30e0dc9ac63a6420d375b340db (patch)
tree54a5031a045542e053e3702b8208251251305ce4 /ui-react/src/components/dialogs/ConfigurationPolicy
parent54fea7fe473270ba67e9053ef08a0be46c6416ce (diff)
parent8a02dd771961cc36b4436f9124657766674b5b76 (diff)
Merge "Fix loop prop window"
Diffstat (limited to 'ui-react/src/components/dialogs/ConfigurationPolicy')
-rw-r--r--ui-react/src/components/dialogs/ConfigurationPolicy/ConfigurationPolicyModal.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui-react/src/components/dialogs/ConfigurationPolicy/ConfigurationPolicyModal.js b/ui-react/src/components/dialogs/ConfigurationPolicy/ConfigurationPolicyModal.js
index 8178bf47..b3b7383e 100644
--- a/ui-react/src/components/dialogs/ConfigurationPolicy/ConfigurationPolicyModal.js
+++ b/ui-react/src/components/dialogs/ConfigurationPolicy/ConfigurationPolicyModal.js
@@ -38,7 +38,7 @@ export default class ConfigurationPolicyModal extends React.Component {
show: true,
loopCache: this.props.loopCache,
jsonEditor: null,
- componentName: "",
+ componentName: this.props.match.params.componentName,
};
constructor(props, context) {
@@ -46,7 +46,7 @@ export default class ConfigurationPolicyModal extends React.Component {
this.handleClose = this.handleClose.bind(this);
this.handleSave = this.handleSave.bind(this);
this.renderJsonEditor = this.renderJsonEditor.bind(this);
- this.state.componentName = props.match.params.componentName;
+ //this.state.componentName = props.match.params.componentName;
}
handleSave() {