From fb404165cb5f6824337d5074ac11720913b987e1 Mon Sep 17 00:00:00 2001 From: Reckless_Satoshi Date: Fri, 16 Sep 2022 12:39:50 -0700 Subject: [PATCH] Fix show all orders on book on mobile --- frontend/src/components/BookPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/BookPage.js b/frontend/src/components/BookPage.js index 8cb7c36a..3361d081 100644 --- a/frontend/src/components/BookPage.js +++ b/frontend/src/components/BookPage.js @@ -295,7 +295,7 @@ class BookPage extends Component { loading={this.props.bookLoading} rows={this.props.bookOrders.filter( (order) => - (order.type == this.props.type || this.props.type == 2) && + (order.type == this.props.type || this.props.type == null) && (order.currency == this.props.currency || this.props.currency == 0), )} columns={[