Skip to content

Commit

Permalink
Bugfix lodash legacy function on add services
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalopitz committed Dec 5, 2016
1 parent 3b16b99 commit 5f181ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ui/actions/BrowserListActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,10 +233,10 @@ export default {

data = _.reject(data, { Auth: "UserId" });
data = _.reject(data, (item) => {
return _.contains(existingIds, item.Id);
return _.includes(existingIds, item.Id);
});
data = _.filter(data, (item) => {
return _.contains(ALLOWED_SERVICES, Number(item.Id));
return _.includes(ALLOWED_SERVICES, Number(item.Id));
});

resolve(data.map((out) => {
Expand Down

0 comments on commit 5f181ff

Please sign in to comment.