Skip to content

Commit

Permalink
fix(ui): #1731 fix reload of policy view after edit (#2100)
Browse files Browse the repository at this point in the history
  • Loading branch information
gpazuch authored Dec 20, 2022
1 parent 988b2c2 commit ad2bd42
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export class AgentPolicyViewComponent implements OnInit, OnDestroy, OnChanges {
this.policiesService.editAgentPolicy(payload).subscribe((resp) => {
this.discard();
this.policy = resp;
this.cdr.markForCheck();
this.fetchData();
});

this.notifications.success('Agent Policy updated successfully', '');
Expand Down

0 comments on commit ad2bd42

Please sign in to comment.