mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-11 02:33:51 +00:00
Fix duplicate actions in list
This commit is contained in:
parent
aac69dce2c
commit
2fdbe2bbc9
|
@ -148,7 +148,6 @@ const rows = computed(() => {
|
||||||
});
|
});
|
||||||
|
|
||||||
const tableFields: TableField[] = [
|
const tableFields: TableField[] = [
|
||||||
props.multiBotView ? { key: 'botName', label: 'Bot' } : { key: 'actions' },
|
|
||||||
{ key: 'trade_id', label: 'ID' },
|
{ key: 'trade_id', label: 'ID' },
|
||||||
{ key: 'pair', label: 'Pair' },
|
{ key: 'pair', label: 'Pair' },
|
||||||
{ key: 'amount', label: 'Amount' },
|
{ key: 'amount', label: 'Amount' },
|
||||||
|
@ -182,6 +181,10 @@ const tableFields: TableField[] = [
|
||||||
{ key: 'open_timestamp', label: 'Open date' },
|
{ key: 'open_timestamp', label: 'Open date' },
|
||||||
...(props.activeTrades ? openFields : closedFields),
|
...(props.activeTrades ? openFields : closedFields),
|
||||||
];
|
];
|
||||||
|
if (props.multiBotView) {
|
||||||
|
tableFields.unshift({ key: 'botName', label: 'Bot' });
|
||||||
|
}
|
||||||
|
|
||||||
const feOrderType = ref<string | undefined>(undefined);
|
const feOrderType = ref<string | undefined>(undefined);
|
||||||
const forceExitHandler = (item: Trade, ordertype: string | undefined = undefined) => {
|
const forceExitHandler = (item: Trade, ordertype: string | undefined = undefined) => {
|
||||||
feTrade.value = item;
|
feTrade.value = item;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user