mirror of
https://github.com/mempool/mempool.git
synced 2025-03-03 09:39:17 +01:00
Liquid asset search bug fix.
This commit is contained in:
parent
b8a110a772
commit
544be77bdc
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ export class AssetsComponent implements OnInit {
|
|||
const start = (this.page - 1) * this.itemsPerPage;
|
||||
if (searchText.length ) {
|
||||
const filteredAssets = this.assetsCache.filter((asset) => asset.name.toLowerCase().indexOf(searchText.toLowerCase()) > -1
|
||||
|| asset.ticker.toLowerCase().indexOf(searchText.toLowerCase()) > -1);
|
||||
|| (asset.ticker || '').toLowerCase().indexOf(searchText.toLowerCase()) > -1);
|
||||
this.assets = filteredAssets;
|
||||
return filteredAssets.slice(start, this.itemsPerPage + start);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue