mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-23 03:25:15 +00:00
Fix type error
This commit is contained in:
parent
139a03f9c6
commit
d2d58e37c7
|
@ -15,11 +15,9 @@
|
|||
:disabled="tradeModes.length < 2"
|
||||
>
|
||||
</b-form-select>
|
||||
<div class="ms-2">
|
||||
<b-button size="sm" @click="botStore.activeBot.getExchangeList">
|
||||
<i-mdi-refresh />
|
||||
</b-button>
|
||||
</div>
|
||||
<b-button class="ms-2 no-min-w" size="sm" @click="botStore.activeBot.getExchangeList">
|
||||
<i-mdi-refresh />
|
||||
</b-button>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
@ -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