Change-Id: I2c5708a0228c765f31b4f3b77d5b117d3b44f950
Issue-ID: NONRTRIC-472
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
}
modifyInstance(instance: PolicyInstance): void {
- let refreshedInstance: PolicyInstance;
this.policySvc
.getPolicyInstance(instance.policy_id)
- .subscribe((refreshedJson: any) => {
- refreshedInstance = refreshedJson;
+ .subscribe((refreshedJson: PolicyInstance) => {
+ this.openInstanceDialog(refreshedJson);
});
-
- this.openInstanceDialog(refreshedInstance);
}
private openInstanceDialog(policy: PolicyInstance) {