Skip to content

Commit

Permalink
Merge pull request bitfinexcom#707 from alexstotsky/fix-extra-info-fiat
Browse files Browse the repository at this point in the history
(fix) Movement extra info for fiat transfers
  • Loading branch information
ezewer authored Sep 21, 2023
2 parents 6a38e2b + dce17f5 commit 0d00bb1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/ExtraInfoDialog/ExtraInfoDialog.columns.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ const getColumns = ({
const { externalBankAccInfo } = preparedData[rowIndex]
return (
<Cell>
{externalBankAccInfo}
{externalBankAccInfo && JSON.stringify(externalBankAccInfo)}
</Cell>
)
},
Expand Down
2 changes: 1 addition & 1 deletion src/state/movements/saga.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function* getExtraInfo({ payload }) {

if (result) {
yield put(actions.setMovementInfo(result))
yield put(toggleExtraInfoDialog(result))
yield put(toggleExtraInfoDialog())
}

if (error) {
Expand Down
4 changes: 4 additions & 0 deletions src/ui/JSONFormat/JSONFormat.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ const JSONFormat = ({ content, children }) => {
return null
}

if (!content) {
return children
}

return (
<Tooltip
placement='left'
Expand Down

0 comments on commit 0d00bb1

Please sign in to comment.