Skip to content

Commit

Permalink
fix(preferences(js)): don't alter the list of default email addresses
Browse files Browse the repository at this point in the history
Fixes #5443
  • Loading branch information
cgx committed Dec 16, 2021
1 parent 2754737 commit bdfe1be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
if ((angular.isUndefined(data.Vacation.autoReplyEmailAddresses) ||
data.Vacation.autoReplyEmailAddresses.length == 0) &&
angular.isDefined(window.defaultEmailAddresses))
data.Vacation.autoReplyEmailAddresses = window.defaultEmailAddresses;
data.Vacation.autoReplyEmailAddresses = window.defaultEmailAddresses.slice();

if (angular.isUndefined(data.Vacation.daysBetweenResponse))
data.Vacation.daysBetweenResponse = 7;
Expand Down

0 comments on commit bdfe1be

Please sign in to comment.