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
};
})), {
defaultSortKey: 'name',
defaultSortDirection: 'asc'
defaultSortKey: 'precentProfit',
defaultSortDirection: 'desc'
})
const getLineColor = (result: Result) => {
if (result.precentProfit >= (threshold.value / 100)) {