default
This commit is contained in:
@@ -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)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user