Fix lint error

This commit is contained in:
Matthias 2023-07-20 20:58:53 +02:00
parent 2ccc6232cb
commit 206d6babfc

View File

@ -50,8 +50,9 @@ const exchangeList = computed(() => {
}); });
const tradeModesTyped = computed(() => { const tradeModesTyped = computed(() => {
const val = botStore.activeBot.exchangeList.find((ex) => ex.name === exchangeModel.value.exchange) const val = botStore.activeBot.exchangeList.find(
?.trade_modes; (ex) => ex.name === exchangeModel.value.exchange,
)?.trade_modes;
return val ?? []; return val ?? [];
}); });