Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
ruixhuang committed Apr 25, 2024
1 parent 68929ee commit 4a8f19a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ class DydxTriggerOrderInputViewModel @Inject constructor(
DydxTriggerOrderInputView.ValidationErrorSection.None
}
} ?: DydxTriggerOrderInputView.ValidationErrorSection.None,
hasMultipleTP = takeProfitOrders?.size ?: 0 > 1,
hasMultipleSL = stopLossOrders?.size ?: 0 > 1,
hasMultipleTP = (takeProfitOrders?.size ?: 0) > 1,
hasMultipleSL = (stopLossOrders?.size ?: 0) > 1,
showOrderListAction = {
router.navigateTo(
route = PortfolioRoutes.orders,
Expand Down

0 comments on commit 4a8f19a

Please sign in to comment.