updated fro to texts for memo points

This commit is contained in:
ue 2019-08-26 09:27:47 +03:00
parent 45a7f4fc74
commit 9d425e19d7
2 changed files with 8 additions and 2 deletions

View File

@ -222,7 +222,12 @@ class PointsView extends Component {
<WalletLineItem <WalletLineItem
isBlackText isBlackText
isThin 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')} description={get(item, 'memo')}
/> />
)} )}

View File

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