mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 18:23:50 +00:00
Update logic to new eslint rules
This commit is contained in:
parent
206d6babfc
commit
a43bab3aa7
|
@ -12,7 +12,9 @@
|
|||
<div class="d-flex flex-row">
|
||||
<b-form-checkbox
|
||||
v-if="row.item.botId && botStore.botCount > 1"
|
||||
v-model="botStore.botStores[(row.item as unknown as ComparisonTableItems).botId ?? ''].isSelected"
|
||||
v-model="
|
||||
botStore.botStores[(row.item as unknown as ComparisonTableItems).botId ?? ''].isSelected
|
||||
"
|
||||
title="Show bot in Dashboard"
|
||||
/>
|
||||
<span>{{ row.value }}</span>
|
||||
|
|
|
@ -50,9 +50,8 @@ const exchangeList = computed(() => {
|
|||
});
|
||||
|
||||
const tradeModesTyped = computed(() => {
|
||||
const val = botStore.activeBot.exchangeList.find(
|
||||
(ex) => ex.name === exchangeModel.value.exchange,
|
||||
)?.trade_modes;
|
||||
const val = botStore.activeBot.exchangeList.find((ex) => ex.name === exchangeModel.value.exchange)
|
||||
?.trade_modes;
|
||||
return val ?? [];
|
||||
});
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@
|
|||
{{ row.item.trading_mode !== 'spot' ? `(${row.item.leverage}x)` : '' }}
|
||||
</template>
|
||||
<template #cell(profit)="row">
|
||||
<trade-profit :trade="(row.item as unknown as Trade)" />
|
||||
<trade-profit :trade="row.item as unknown as Trade" />
|
||||
</template>
|
||||
<template #cell(open_timestamp)="row">
|
||||
<DateTimeTZ :date="(row.item as unknown as Trade).open_timestamp" />
|
||||
|
|
Loading…
Reference in New Issue
Block a user