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" > - +