chore: beta status on LN
This commit is contained in:
parent
508adb573f
commit
c06b373d5a
6 changed files with 15 additions and 5 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