Fix undefined in resolved WalletTemplate id (#2344)
This commit is contained in:
parent
cf5ac8272d
commit
20147cae15
@ -19,12 +19,12 @@ const WalletTemplate = {
|
|||||||
protocols: walletTemplate => {
|
protocols: walletTemplate => {
|
||||||
return [
|
return [
|
||||||
...walletTemplate.sendProtocols.map(protocol => ({
|
...walletTemplate.sendProtocols.map(protocol => ({
|
||||||
id: `WalletTemplate-${walletTemplate.id}-${protocol}-send`,
|
id: `WalletTemplate-${walletTemplate.name}-${protocol}-send`,
|
||||||
name: protocol,
|
name: protocol,
|
||||||
send: true
|
send: true
|
||||||
})),
|
})),
|
||||||
...walletTemplate.recvProtocols.map(protocol => ({
|
...walletTemplate.recvProtocols.map(protocol => ({
|
||||||
id: `WalletTemplate-${walletTemplate.id}-${protocol}-recv`,
|
id: `WalletTemplate-${walletTemplate.name}-${protocol}-recv`,
|
||||||
name: protocol,
|
name: protocol,
|
||||||
send: false
|
send: false
|
||||||
}))
|
}))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user