Fix UI that sends 2 list policies query 70/120770/1
authorsebdet <sebastien.determe@intl.att.com>
Wed, 21 Apr 2021 13:01:14 +0000 (15:01 +0200)
committersebdet <sebastien.determe@intl.att.com>
Wed, 21 Apr 2021 13:01:14 +0000 (15:01 +0200)
The UI code that manages the PDP deployments was not correct, it uses to do 2 List queries when it was successful

Issue-ID: POLICY-3226
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Ia67d67d1e953cc3426fbe450c428d31bc72649d8

ui-react/src/components/dialogs/Policy/PolicyDeploymentEditor.js

index 48d02e3..57d6160 100644 (file)
@@ -106,7 +106,6 @@ export default class PolicyDeploymentEditor extends React.Component {
                         });
                         this.props.policiesTableUpdateFunction();
                     }
-                    this.props.policiesTableUpdateFunction()
                 })
             } else {
                 this.setState({