mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 18:23:50 +00:00
Fix tradelist table-fields causing a "flicker"
This commit is contained in:
parent
6443b27068
commit
aab98da77e
|
@ -143,10 +143,10 @@ const rows = computed(() => {
|
|||
return props.trades.length;
|
||||
});
|
||||
|
||||
let tableFields: TableField[] = [];
|
||||
const tableFields = ref<TableField[]>([]);
|
||||
|
||||
onMounted(() => {
|
||||
tableFields = [
|
||||
tableFields.value = [
|
||||
{ key: 'trade_id', label: 'ID' },
|
||||
{ key: 'pair', label: 'Pair' },
|
||||
{ key: 'amount', label: 'Amount' },
|
||||
|
@ -181,7 +181,7 @@ onMounted(() => {
|
|||
...(props.activeTrades ? openFields : closedFields),
|
||||
];
|
||||
if (props.multiBotView) {
|
||||
tableFields.unshift({ key: 'botName', label: 'Bot' });
|
||||
tableFields.value.unshift({ key: 'botName', label: 'Bot' });
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user