Fix missing mandatory property for profitpill

This commit is contained in:
Matthias 2022-01-01 17:11:55 +01:00
parent 049513ae01
commit 99c340db38

View File

@ -17,7 +17,11 @@
</div> </div>
<TradeProfit v-if="comb.trade && !backtestMode" :trade="comb.trade" /> <TradeProfit v-if="comb.trade && !backtestMode" :trade="comb.trade" />
<ProfitPill v-if="backtestMode && comb.tradeCount > 0" :profit-ratio="comb.profit" /> <ProfitPill
v-if="backtestMode && comb.tradeCount > 0"
:profit-ratio="comb.profit"
:stake-currency="stakeCurrency"
/>
</b-list-group-item> </b-list-group-item>
</b-list-group> </b-list-group>
</template> </template>
@ -63,6 +67,8 @@ export default class PairSummary extends Vue {
@ftbot.Getter [BotStoreGetters.selectedPair]!: string; @ftbot.Getter [BotStoreGetters.selectedPair]!: string;
@ftbot.Getter [BotStoreGetters.stakeCurrency]!: string;
timestampms = timestampms; timestampms = timestampms;
formatPercent = formatPercent; formatPercent = formatPercent;