Only show when backend version supports this

This commit is contained in:
Matthias 2022-04-13 07:01:04 +02:00
parent 4f744a402d
commit f26507f97c

View File

@ -10,6 +10,7 @@
:disabled="canRunBacktest"
>
<b-form-radio
v-if="botApiVersion >= 2.15"
v-model="btFormMode"
name="bt-form-radios"
button
@ -380,6 +381,8 @@ export default class Backtesting extends Vue {
@ftbot.Getter [BotStoreGetters.botState]?: BotState;
@ftbot.Getter [BotStoreGetters.botApiVersion]: number;
@ftbot.Getter [BotStoreGetters.backtestProgress]!: number;
@ftbot.Getter [BotStoreGetters.backtestHistory]!: StrategyBacktestResult[];
@ -402,8 +405,6 @@ export default class Backtesting extends Vue {
@ftbot.Action pollBacktest!: () => void;
@ftbot.Action getBacktestHistory!: () => void;
@ftbot.Action removeBacktest!: () => void;
@ftbot.Action stopBacktest!: () => void;