Skip to content
Browse files

fix(account-send): use new belongsTo relationship paths

  • Loading branch information...
devinus committed Feb 20, 2019
1 parent c27216f commit c1f97b9c9e9e813e30070901c979f9be21a0ea87
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/components/account-send/template.hbs
@@ -3,7 +3,7 @@
{{#component form.element controlType="power-select" label=(t 'wallets.accounts.send.source')
required=true options=accounts property='source' onChange=(action onChange) as |el|}}
{{#component el.control searchField="id" searchPlaceholder=(t '') as |item|}}
{{#let (or (get item 'content.content') item) as |content|}}
{{#let (or (get item 'content') item) as |content|}}
{{account-label account=content truncate=30}}
{{format-amount (get content 'balance')}} {{t 'NANO'}}
@@ -17,7 +17,7 @@
placeholder=(t 'wallets.accounts.send.placeholder')}}

{{#let (changeset (hash intl=intl block=block amount=null) ChangeAmountValidations)
(format-amount (or (get model 'source.balance.content') (get model 'source.balance')) useGrouping=false)
(format-amount (or (get model 'source.content.balance') (get model 'source.balance')) useGrouping=false)
as |childModel max|}}
{{#component form.element

0 comments on commit c1f97b9

Please sign in to comment.
You can’t perform that action at this time.