Merge pull request #1080 from esteemapp/general/fix

updated fro to texts for memo points
This commit is contained in:
uğur erdal 2019-08-26 09:29:42 +03:00 committed by GitHub
commit e695b48281
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 2 deletions

View File

@ -222,7 +222,12 @@ class PointsView extends Component {
<WalletLineItem
isBlackText
isThin
text={`${intl.formatMessage({ id: 'points.from' })} ${get(item, 'sender')}`}
text={
get(item, 'sender')
? `${intl.formatMessage({ id: 'points.from' })} @${get(item, 'sender')}`
: get(item, 'receiver') &&
`${intl.formatMessage({ id: 'points.to' })} @${get(item, 'receiver')}`
}
description={get(item, 'memo')}
/>
)}

View File

@ -70,7 +70,8 @@
"dropdown_transfer": "Gift",
"dropdown_promote": "Promote",
"dropdown_boost": "Boost",
"from": "From"
"from": "From",
"to": "To"
},
"messages": {
"comingsoon": "Messages feature is coming soon!"