From b00a573715cfa2639dd4f2862e2fcdbadeaf21ad Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 19 Aug 2023 09:11:13 +0200 Subject: [PATCH] Fix odd type error --- src/components/ftbot/TradeList.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/ftbot/TradeList.vue b/src/components/ftbot/TradeList.vue index bc8a835b44..e3f13c85bf 100644 --- a/src/components/ftbot/TradeList.vue +++ b/src/components/ftbot/TradeList.vue @@ -143,7 +143,9 @@ const rows = computed(() => { return props.trades.length; }); -const tableFields = ref([]); +// This using "TableField[]" below causes +// Error: Debug Failure. No error for last overload signature +const tableFields = ref([]); onMounted(() => { tableFields.value = [ @@ -167,7 +169,6 @@ onMounted(() => { { key: 'profit', label: props.activeTrades ? 'Current profit %' : 'Profit %', - formatter: (value: unknown, key?: string, item?: unknown) => { if (!item) { return '';