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