Merge branch 'master' into vue-grid-merge

This commit is contained in:
Matthias 2020-09-03 06:59:14 +02:00
commit b31f426750

View File

@ -14,7 +14,7 @@ export default class ProfitSymbol extends Vue {
get isProfitable() {
console.log(this.trade);
const res = (this.trade.close_profit ?? 1) < 0 || (this.trade.current_profit ?? 1) < 0;
const res = (this.trade.close_profit ?? 0) > 0 || (this.trade.current_profit ?? 0) > 0;
console.log(res);
return res;
}