diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2020-07-08 13:56:35 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2020-07-08 13:56:35 -0500 |
| commit | 38c3534eadff67e74e66a5f28ff96d8292f40206 (patch) | |
| tree | 4bcfb10d7980da800a54f43b56d539f76897c48b | |
| parent | f631b75f0ad54a438008263c19d99a4f5825b024 (diff) | |
| parent | d37c4ddef2d7a9234e541a3fc0f0802e69706caf (diff) | |
| download | monzero-gui-38c3534eadff67e74e66a5f28ff96d8292f40206.tar.gz monzero-gui-38c3534eadff67e74e66a5f28ff96d8292f40206.tar.xz monzero-gui-38c3534eadff67e74e66a5f28ff96d8292f40206.zip | |
Merge pull request #2996
d37c4dd history: fix search filter not working when there is a pending transaction (rating89us)
| -rw-r--r-- | pages/History.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/History.qml b/pages/History.qml index 4746e637..7ea0adab 100644 --- a/pages/History.qml +++ b/pages/History.qml @@ -1394,7 +1394,7 @@ Rectangle { txs.push(item); } else if(item.address !== "" && item.address.toLowerCase().startsWith(root.sortSearchString.toLowerCase())){ txs.push(item); - } else if(item.blockheight.toString().startsWith(root.sortSearchString)) { + } else if(typeof item.blockheight !== "undefined" && item.blockheight.toString().startsWith(root.sortSearchString)) { txs.push(item); } else if(item.tx_note.toLowerCase().indexOf(root.sortSearchString.toLowerCase()) !== -1) { txs.push(item); |
