mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-26 04:55:15 +00:00
Fix bug in forcesell all
This commit is contained in:
parent
136f7a8267
commit
9413e75b12
|
@ -146,13 +146,14 @@ export default class BotControls extends Vue {
|
|||
}
|
||||
|
||||
handleForceSell() {
|
||||
this.$bvModal.msgBoxConfirm(`Really forcesell ALL trades?`).then((value) => {
|
||||
console.log(value);
|
||||
const payload: ForceSellPayload = {
|
||||
tradeid: 'all',
|
||||
// TODO: support ordertype (?)
|
||||
};
|
||||
this.forcesell(payload);
|
||||
this.$bvModal.msgBoxConfirm(`Really forcesell ALL trades?`).then((value: boolean) => {
|
||||
if (value) {
|
||||
const payload: ForceSellPayload = {
|
||||
tradeid: 'all',
|
||||
// TODO: support ordertype (?)
|
||||
};
|
||||
this.forcesell(payload);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user