mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 10:21:55 +00:00
Fix type error
This commit is contained in:
parent
139a03f9c6
commit
d2d58e37c7
|
@ -15,12 +15,10 @@
|
|||
:disabled="tradeModes.length < 2"
|
||||
>
|
||||
</b-form-select>
|
||||
<div class="ms-2">
|
||||
<b-button size="sm" @click="botStore.activeBot.getExchangeList">
|
||||
<b-button class="ms-2 no-min-w" size="sm" @click="botStore.activeBot.getExchangeList">
|
||||
<i-mdi-refresh />
|
||||
</b-button>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
|
@ -56,7 +54,7 @@ const tradeModesTyped = computed(() => {
|
|||
return val ?? [];
|
||||
});
|
||||
|
||||
const tradeModes = computed<Record<string, unknown>[]>(() => {
|
||||
const tradeModes = computed(() => {
|
||||
return tradeModesTyped.value.map((tm) => {
|
||||
return (
|
||||
{
|
||||
|
@ -64,7 +62,7 @@ const tradeModes = computed<Record<string, unknown>[]>(() => {
|
|||
value: tm,
|
||||
} ?? []
|
||||
);
|
||||
}) as Record<string, unknown>[];
|
||||
});
|
||||
});
|
||||
|
||||
watch(
|
||||
|
|
Loading…
Reference in New Issue
Block a user