diff --git a/src/components/BootswatchThemeSelect.vue b/src/components/BootswatchThemeSelect.vue
index 3ec36615..365f605e 100644
--- a/src/components/BootswatchThemeSelect.vue
+++ b/src/components/BootswatchThemeSelect.vue
@@ -36,6 +36,7 @@ import axios from 'axios';
import ThemeLightDark from 'vue-material-design-icons/Brightness6.vue';
import { FTHTMLStyleElement } from '@/types/styleElement';
import { useSettingsStore } from '@/stores/settings';
+import { ThemeType } from '@/shared/themes';
export default defineComponent({
name: 'BootswatchThemeSelect',
@@ -48,7 +49,7 @@ export default defineComponent({
},
setup(props) {
const activeTheme = ref('');
- const themeList = ref([]);
+ const themeList = ref([]);
const settingsStore = useSettingsStore();
const setTheme = (themeName) => {
diff --git a/src/components/BotEntry.vue b/src/components/BotEntry.vue
index fe888ea4..09445abf 100644
--- a/src/components/BotEntry.vue
+++ b/src/components/BotEntry.vue
@@ -42,7 +42,7 @@ export default defineComponent({
EditIcon,
},
props: {
- bot: { required: true, type: Object },
+ bot: { required: true, type: Object as () => BotDescriptor },
noButtons: { default: false, type: Boolean },
},
emits: ['edit'],
diff --git a/src/components/ftbot/BotControls.vue b/src/components/ftbot/BotControls.vue
index 39bea736..0ae5cdf5 100644
--- a/src/components/ftbot/BotControls.vue
+++ b/src/components/ftbot/BotControls.vue
@@ -5,7 +5,7 @@ forceexit
class="btn btn-secondary btn-sm ml-1"
:disabled="!botStore.activeBot.isTrading || isRunning"
title="Start Trading"
- @click="startBot()"
+ @click="botStore.activeBot.startBot()"
>
@@ -59,7 +59,7 @@ forceexit
:disabled="isTrading"
class="btn btn-secondary btn-sm ml-1"
title="Start Trading mode"
- @click="startTrade()"
+ @click="botStore.activeBot.startTrade()"
>
diff --git a/src/components/ftbot/BotStatus.vue b/src/components/ftbot/BotStatus.vue
index 15e2bc19..a003d438 100644
--- a/src/components/ftbot/BotStatus.vue
+++ b/src/components/ftbot/BotStatus.vue
@@ -22,7 +22,10 @@
>,
force entry:
- {{ botStore.activeBot.botState.force_entry_enable || botState.forcebuy_enabled }}
diff --git a/src/components/ftbot/TradeList.vue b/src/components/ftbot/TradeList.vue
index 5634d483..1a1349bd 100644
--- a/src/components/ftbot/TradeList.vue
+++ b/src/components/ftbot/TradeList.vue
@@ -229,7 +229,7 @@ export default defineComponent({
watch(
() => botStore.activeBot.detailTradeId,
- (val: number) => {
+ (val) => {
const index = props.trades.findIndex((v) => v.trade_id === val);
// Unselect when another tradeTable is selected!
if (index < 0) {