diff --git a/frontend/app/global.js b/frontend/app/global.js index b98ca5d3bb..dd1945e4e8 100644 --- a/frontend/app/global.js +++ b/frontend/app/global.js @@ -71,3 +71,7 @@ require('angular-ui-select/dist/select'); require('angular-ui-select/dist/select.css'); require('restangular'); + +// 'includes' is not a function in older versions of lodash, so we need to substitute +// due to the update related to https://github.com/mgonto/restangular/issues/1314 +_.includes = _.includes || _.include || _.contains;