fix(trading): closed markets filter (#5691)
Co-authored-by: Matthew Russell <mattrussell36@gmail.com> Co-authored-by: Edd <edd@vega.xyz>
This commit is contained in:
parent
053775bef6
commit
98ce1d0a25
@ -300,7 +300,7 @@
|
|||||||
"Unknown": "Unknown",
|
"Unknown": "Unknown",
|
||||||
"Unknown settlement date": "Unknown settlement date",
|
"Unknown settlement date": "Unknown settlement date",
|
||||||
"Vega Reward pot": "Vega Reward pot",
|
"Vega Reward pot": "Vega Reward pot",
|
||||||
"Vega Wallet <0>full featured<0>": "Vega Wallet <0>full featured<0>",
|
"Vega Wallet <0>full featured</0>": "Vega Wallet <0>full featured</0>",
|
||||||
"Vega chart": "Vega chart",
|
"Vega chart": "Vega chart",
|
||||||
"Vesting": "Vesting",
|
"Vesting": "Vesting",
|
||||||
"Vesting multiplier": "Vesting multiplier",
|
"Vesting multiplier": "Vesting multiplier",
|
||||||
|
@ -113,6 +113,8 @@ export const filterAndSortClosedMarkets = (markets: MarketMaybeWithData[]) => {
|
|||||||
return [
|
return [
|
||||||
MarketState.STATE_SETTLED,
|
MarketState.STATE_SETTLED,
|
||||||
MarketState.STATE_TRADING_TERMINATED,
|
MarketState.STATE_TRADING_TERMINATED,
|
||||||
|
MarketState.STATE_CLOSED,
|
||||||
|
MarketState.STATE_CANCELLED,
|
||||||
].includes(m.data?.marketState || m.state);
|
].includes(m.data?.marketState || m.state);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user