fix sell at 0
This commit is contained in:
1 parent
c2a09f1c2a
commit
4fca2712bf
1 file changed
+1
-1
@@ -71,7 +71,7 @@ const { sortedArray, headerProps } = useSort<Result>(computed(() => props.items
|
||||
const getLineColor = (result: Result) => {
|
||||
if (result.profit < (threshold.value / 100)) {
|
||||
return 'line-red';
|
||||
} else if (result.sell <= result.q1) {
|
||||
} else if (result.sell > 0 && result.sell <= result.q1) {
|
||||
return 'line-blue';
|
||||
} else if (result.buy <= result.q1) {
|
||||
return 'line-green';
|
||||
|
||||
Reference in new issue
Block a user