mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 10:21:55 +00:00
Rename closedtrades to closedTrades
This commit is contained in:
parent
f9f1c37c61
commit
1571a8fd77
|
@ -26,7 +26,7 @@ export default {
|
||||||
const [dTrade] = state.openTrades.filter((item) => item.trade_id === state.detailTradeId);
|
const [dTrade] = state.openTrades.filter((item) => item.trade_id === state.detailTradeId);
|
||||||
return dTrade;
|
return dTrade;
|
||||||
},
|
},
|
||||||
closedtrades(state) {
|
closedTrades(state) {
|
||||||
return state.trades.filter((item) => !item.is_open);
|
return state.trades.filter((item) => !item.is_open);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<TradeList
|
<TradeList
|
||||||
class="trade-history"
|
class="trade-history"
|
||||||
:trades="closedtrades"
|
:trades="closedTrades"
|
||||||
title="Trade history"
|
title="Trade history"
|
||||||
emptyText="No closed trades so far."
|
emptyText="No closed trades so far."
|
||||||
v-if="!detailTradeId"
|
v-if="!detailTradeId"
|
||||||
|
@ -98,7 +98,7 @@ export default class Trading extends Vue {
|
||||||
openTrades!: Array<Trade>;
|
openTrades!: Array<Trade>;
|
||||||
|
|
||||||
@ftbot.Getter
|
@ftbot.Getter
|
||||||
closedtrades!: Array<Trade>;
|
closedTrades!: Array<Trade>;
|
||||||
|
|
||||||
@ftbot.Getter
|
@ftbot.Getter
|
||||||
openTradeDetail!: Trade;
|
openTradeDetail!: Trade;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user