Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1261 from OpenBazaar/patchSaveMods
Browse files Browse the repository at this point in the history
Fix using options instead of this for excluded ids
  • Loading branch information
rmisio authored Mar 9, 2018
2 parents 808758a + 8402d37 commit 23e5ef2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/views/components/Moderators.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ export default class extends baseVw {
}

// don't get any that have already been added or excluded, or the user's own id.
const excluded = [...this.allIDs, ...op.excludeIDs, app.profile.id];
const excluded = [...this.allIDs, ...this.excludeIDs, app.profile.id];
const IDs = _.without(op.moderatorIDs, excluded);
const includeString = op.include ? `&include=${op.include}` : '';
const urlString =
Expand Down

0 comments on commit 23e5ef2

Please sign in to comment.