This commit is contained in:
2023-09-21 00:12:25 +02:00
parent eb74ef389e
commit 1ac7539dd0

View File

@@ -52,8 +52,8 @@ const { sortedArray, headerProps } = useSort<Result>(computed(() => props.items
iskProfit: r.averagePrice * precentProfit iskProfit: r.averagePrice * precentProfit
}; };
})), { })), {
defaultSortKey: 'name', defaultSortKey: 'precentProfit',
defaultSortDirection: 'asc' defaultSortDirection: 'desc'
}) })
const getLineColor = (result: Result) => { const getLineColor = (result: Result) => {
if (result.precentProfit >= (threshold.value / 100)) { if (result.precentProfit >= (threshold.value / 100)) {