Merge remote-tracking branch 'origin/release-9.0' into chore/merge-9-into-10-20240314
This commit is contained in:
commit
196483fd6e
10 changed files with 148 additions and 605 deletions
|
|
@ -32,10 +32,12 @@ const mapLanguage = lang => {
|
|||
}
|
||||
|
||||
const massageCryptos = cryptos => {
|
||||
const betaList = ['LN']
|
||||
const convert = crypto => ({
|
||||
code: crypto['cryptoCode'],
|
||||
display: crypto['display'],
|
||||
codeDisplay: crypto['cryptoCodeDisplay'] ?? crypto['cryptoCode']
|
||||
codeDisplay: crypto['cryptoCodeDisplay'] ?? crypto['cryptoCode'],
|
||||
isBeta: betaList.includes(crypto.cryptoCode)
|
||||
})
|
||||
|
||||
return _.map(convert, cryptos)
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ const typeDef = gql`
|
|||
code: String!
|
||||
display: String!
|
||||
codeDisplay: String!
|
||||
isBeta: Boolean
|
||||
}
|
||||
|
||||
type Query {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue