aboutsummaryrefslogtreecommitdiffstats
path: root/ui-react/src/components/dialogs/Policy/PolicyToscaFileSelector.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui-react/src/components/dialogs/Policy/PolicyToscaFileSelector.js')
-rw-r--r--ui-react/src/components/dialogs/Policy/PolicyToscaFileSelector.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui-react/src/components/dialogs/Policy/PolicyToscaFileSelector.js b/ui-react/src/components/dialogs/Policy/PolicyToscaFileSelector.js
index 8753c7834..9cd3d4172 100644
--- a/ui-react/src/components/dialogs/Policy/PolicyToscaFileSelector.js
+++ b/ui-react/src/components/dialogs/Policy/PolicyToscaFileSelector.js
@@ -79,6 +79,7 @@ export default class PolicyToscaFileSelector extends React.Component {
};
});
} else {
+ this.props.toscaTableUpdateFunction();
this.setState(state => {
return {
alertMessages: [...state.alertMessages,(<Alert variant="success"><Alert.Heading>{file.name}</Alert.Heading><p>Policy Tosca Model Created Successfully</p><hr/><p>Type: {file.type}</p><p>Size: {file.size}</p></Alert>)]
@@ -88,7 +89,7 @@ export default class PolicyToscaFileSelector extends React.Component {
});
};
});
- this.props.toscaTableUpdateFunction();
+
}
render() {