feat(positions): add closed markets filter to positions in portfolio (#4982)

This commit is contained in:
Bartłomiej Głownia 2023-10-09 08:28:21 +02:00 committed by GitHub
parent a2e4f34b0d
commit 1ed7d6fda2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,6 +10,7 @@ import { AccountsContainer } from '../../components/accounts-container';
import { DepositsContainer } from '../../components/deposits-container';
import { FillsContainer } from '../../components/fills-container';
import { PositionsContainer } from '../../components/positions-container';
import { PositionsMenu } from '../../components/positions-menu';
import { WithdrawalsContainer } from '../../components/withdrawals-container';
import { OrdersContainer } from '../../components/orders-container';
import { LedgerContainer } from '../../components/ledger-container';
@ -68,7 +69,11 @@ export const Portfolio = () => {
<Tab id="account-history" name={t('Account history')}>
<AccountHistoryContainer />
</Tab>
<Tab id="positions" name={t('Positions')}>
<Tab
id="positions"
name={t('Positions')}
menu={<PositionsMenu />}
>
<PositionsContainer allKeys />
</Tab>
<Tab id="orders" name={t('Orders')}>