diff options
| author | rating89us <45968869+rating89us@users.noreply.github.com> | 2020-07-08 15:01:19 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-08 15:01:19 +0200 |
| commit | d37c4ddef2d7a9234e541a3fc0f0802e69706caf (patch) | |
| tree | be96650c367137c3a1d5f55a8d1c2ac9b0d5d89d | |
| parent | 596b71b29378421d67d1c4660b3b872eec320805 (diff) | |
| download | monzero-gui-d37c4ddef2d7a9234e541a3fc0f0802e69706caf.tar.gz monzero-gui-d37c4ddef2d7a9234e541a3fc0f0802e69706caf.tar.xz monzero-gui-d37c4ddef2d7a9234e541a3fc0f0802e69706caf.zip | |
history: fix search filter not working when there is a pending transaction
| -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 82d4abfb..e02256fe 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); |
