Skip to content

Commit

Permalink
Merge branch 'develop' into feature/ddw-603-enable-pasting-of-wallet-…
Browse files Browse the repository at this point in the history
…recovery-phrase
  • Loading branch information
DeeJayElly committed Apr 7, 2021
2 parents b89f645 + cd26720 commit 27b7d3f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Expand Up @@ -8,6 +8,10 @@ Changelog
- Updates Catalyst Fund4 dates ([PR 2495](https://github.com/input-output-hk/daedalus/pull/2495))
- Updated `cardano-wallet` to revision `7df30796` ([PR 2495](https://github.com/input-output-hk/daedalus/pull/2495))

### Fixes

- Handle empty strings in transaction metadata correctly ([PR 2503](https://github.com/input-output-hk/daedalus/pull/2503))

## 4.0.4

### Features
Expand Down
Expand Up @@ -12,7 +12,7 @@ function flattenMetadata(data: MetadataValue) {
if (data.int) {
return data.int;
}
if (data.string) {
if (data.string != null) {
return data.string;
}
if (data.bytes) {
Expand Down
3 changes: 2 additions & 1 deletion storybook/stories/_support/utils.js
Expand Up @@ -49,7 +49,8 @@ export const EXAMPLE_METADATA = JSONBigInt.parse(`{
{ "int": 42 },
{ "string": "1337" },
{ "list": [
{ "string": "nested list" }
{ "string": "nested list" },
{ "string": "" }
]}
]
},
Expand Down

0 comments on commit 27b7d3f

Please sign in to comment.