Skip to content

Commit

Permalink
ENGCOM-3371: Fix for Internet Explorer 11: Edit customer in backend l…
Browse files Browse the repository at this point in the history
…eads sometimes to a "loading circle" and error object does not support method "includes" #19010
  • Loading branch information
Stanislav Idolov authored Nov 6, 2018
2 parents 99f35e6 + f9188fd commit 6fc7b8e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ define([

if (!this.value()) {
defaultCountry = _.filter(result, function (item) {
return item['is_default'] && item['is_default'].includes(value);
return item['is_default'] && _.contains(item['is_default'], value);
});

if (defaultCountry.length) {
Expand Down

0 comments on commit 6fc7b8e

Please sign in to comment.