bitshares / bitshares/bitshares-ui

Can't switch to market trades when there isn't any history trades

Open
#2,385 0 comments 0 reactions 1 assignee Claimed by @sschiessl-bcp View on GitHub
Dominant language
JavaScript
Stars
520
Forks
575
Avg merge
12h 7m
Merged PRs (30d)
5

Description

**Describe the bug**
Open a new trading pair without any history trades, then switch to market trades tab. An error occurs:
TypeError: Cannot read property 'length' of null

**To Reproduce**
Steps to reproduce the behavior:
1. Open https://wallet.bitshares.org/#/market/CRYPTRADE.CRCO_CRYPTRADE.BTC
2. Switch to "MARKET TRADES"

**Expected behavior**
Can switch to "MARKET TRADES" tab.

**Screenshots**
![image](https://user-images.githubusercontent.com/44422194/50571140-2cad5000-0ddd-11e9-9d43-5cf0a0eb9a89.png)

**Desktop (please complete the following information):**
- OS: OSX
- Browser Chorme
- Version 2.0.181129

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.