Skip to content

Commit

Permalink
#2062 Copy the alert object when opening the preview dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
nadouani committed Jun 9, 2021
1 parent 4777b29 commit 9bbf5e1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/app/scripts/controllers/alert/AlertListCtrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,9 @@
controllerAs: 'dialog',
size: 'max',
resolve: {
event: event,
event: function () {
return angular.copy(event);
},
templates: function () {
return CaseTemplateSrv.list();
},
Expand Down

0 comments on commit 9bbf5e1

Please sign in to comment.