Skip to content
This repository has been archived by the owner on Oct 21, 2020. It is now read-only.

Commit

Permalink
fix(account-send): use new belongsTo relationship paths
Browse files Browse the repository at this point in the history
  • Loading branch information
devinus committed Feb 20, 2019
1 parent c27216f commit c1f97b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/components/account-send/template.hbs
Expand Up @@ -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 'wallets.accounts.send.search') as |item|}}
{{#let (or (get item 'content.content') item) as |content|}}
{{#let (or (get item 'content') item) as |content|}}
<div>
{{account-label account=content truncate=30}}
{{format-amount (get content 'balance')}} {{t 'NANO'}}
Expand All @@ -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
min=0
Expand Down

0 comments on commit c1f97b9

Please sign in to comment.