From 4fca2712bfcf0d1d04bfad570ae91c353a9390ba Mon Sep 17 00:00:00 2001 From: Sirttas Date: Mon, 16 Oct 2023 09:01:16 +0200 Subject: [PATCH] fix sell at 0 --- src/market/scan/ScanResultTable.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/market/scan/ScanResultTable.vue b/src/market/scan/ScanResultTable.vue index 0e0fc52..d5fcd38 100644 --- a/src/market/scan/ScanResultTable.vue +++ b/src/market/scan/ScanResultTable.vue @@ -71,7 +71,7 @@ const { sortedArray, headerProps } = useSort(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';