diff options
author | sebdet <sebastien.determe@intl.att.com> | 2020-03-16 11:04:34 -0700 |
---|---|---|
committer | sebdet <sebastien.determe@intl.att.com> | 2020-03-16 14:00:24 -0700 |
commit | e916ac28ba46ff7cad64f1a3150b128ba4772c70 (patch) | |
tree | 66ec87f03dfd6eec52f0687183da9321db171094 /ui-react/src/components/dialogs/OperationalPolicy | |
parent | 82775724cf35060294388f84d2e7d2b0671ee838 (diff) |
Rework the policy refresh
Rework the policy refresh for the new unique dialog policyModel
Issue-ID: CLAMP-578
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Ie8c91223e92c1e344d7ead5784ffea33d4f6a00f
Diffstat (limited to 'ui-react/src/components/dialogs/OperationalPolicy')
-rw-r--r-- | ui-react/src/components/dialogs/OperationalPolicy/OperationalPolicyModal.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-react/src/components/dialogs/OperationalPolicy/OperationalPolicyModal.js b/ui-react/src/components/dialogs/OperationalPolicy/OperationalPolicyModal.js index 7ed8ba6f1..89e70795e 100644 --- a/ui-react/src/components/dialogs/OperationalPolicy/OperationalPolicyModal.js +++ b/ui-react/src/components/dialogs/OperationalPolicy/OperationalPolicyModal.js @@ -127,7 +127,7 @@ export default class OperationalPolicyModal extends React.Component { } handleRefresh() { - LoopService.refreshOpPolicyJson(this.state.loopCache.getLoopName()).then(data => { + LoopService.refreshOperationalPolicyJson(this.state.loopCache.getLoopName(), this.state.loopCache.getOperationalPolicies()[0]).then(data => { var newLoopCache = new LoopCache(data); var schema_json = newLoopCache.getOperationalPolicyJsonSchema(); var operationalPoliciesData = newLoopCache.getOperationalPoliciesNoJsonSchema(); |