fix: moved coin filter from the front-end to the server
This commit is contained in:
parent
9577d3548e
commit
d065baeda9
3 changed files with 3 additions and 3 deletions
|
|
@ -136,7 +136,7 @@ function massageCurrencies (currencies) {
|
|||
const codeToRec = code => _.find(_.matchesProperty('code', code), mapped)
|
||||
const top5 = _.map(codeToRec, top5Codes)
|
||||
const raw = _.uniqBy(_.get('code'), _.concat(top5, mapped))
|
||||
return raw.filter(r => r.code[0] !== 'X' && r.display.indexOf('(') === -1)
|
||||
return raw.filter(r => r.code !== '' && r.code[0] !== 'X' && r.display.indexOf('(') === -1)
|
||||
}
|
||||
|
||||
const mapLanguage = lang => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue