mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-27 13:35:17 +00:00
Don't flip pair back to first pair in whitelist automatically
This commit is contained in:
parent
ee06a542bb
commit
aa1b881072
|
@ -159,9 +159,11 @@ export default class CandleChartContainer extends Vue {
|
||||||
|
|
||||||
@Watch('availablePairs')
|
@Watch('availablePairs')
|
||||||
watchAvailablePairs() {
|
watchAvailablePairs() {
|
||||||
|
if (!this.availablePairs.find((pair) => pair === this.pair)) {
|
||||||
[this.pair] = this.availablePairs;
|
[this.pair] = this.availablePairs;
|
||||||
this.refresh();
|
this.refresh();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Watch(BotStoreGetters.selectedPair)
|
@Watch(BotStoreGetters.selectedPair)
|
||||||
watchSelectedPair() {
|
watchSelectedPair() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user