From 23986494f72d7d0eae7b655eb31f61eb85d27baa Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 18 Sep 2021 20:00:48 +0200 Subject: [PATCH] Show bot-name in dashboard open-trades view --- src/components/ftbot/TradeList.vue | 3 +++ src/views/Dashboard.vue | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/ftbot/TradeList.vue b/src/components/ftbot/TradeList.vue index f814d0f1..859c919e 100644 --- a/src/components/ftbot/TradeList.vue +++ b/src/components/ftbot/TradeList.vue @@ -109,6 +109,8 @@ export default class TradeList extends Vue { @Prop({ default: false }) showFilter!: boolean; + @Prop({ default: false, type: Boolean }) multiBotView!: boolean; + @Prop({ default: 'No Trades to show.' }) emptyText!: string; @ftbot.Getter [BotStoreGetters.detailTradeId]?: number; @@ -154,6 +156,7 @@ export default class TradeList extends Vue { ]; tableFields: Record[] = [ + this.multiBotView ? { key: 'botName', label: 'Bot' } : {}, { key: 'trade_id', label: 'ID' }, { key: 'pair', label: 'Pair' }, { key: 'amount', label: 'Amount' }, diff --git a/src/views/Dashboard.vue b/src/views/Dashboard.vue index abf60e42..131c9564 100644 --- a/src/views/Dashboard.vue +++ b/src/views/Dashboard.vue @@ -56,7 +56,7 @@ drag-allow-from=".drag-header" > - +