reprocess rework
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
<script setup lang="ts">
|
||||
import { SortableHeader, useSort, VirtualScrollTable } from '@/components/table';
|
||||
import { formatIsk, percentFormater } from '@/formaters';
|
||||
import { MarketTypeLabel } from '@/market/type';
|
||||
import { useStorage } from '@vueuse/core';
|
||||
import { computed } from 'vue';
|
||||
import {SortableHeader, useSort, VirtualScrollTable} from '@/components/table';
|
||||
import {formatIsk, percentFormater} from '@/formaters';
|
||||
import {MarketTypeLabel} from '@/market/type';
|
||||
import {useStorage} from '@vueuse/core';
|
||||
import {computed} from 'vue';
|
||||
import BuySellSlider from './BuySellSlider.vue';
|
||||
import { ReprocessItemValues } from './reprocess';
|
||||
import {ReprocessItemValues} from './reprocess';
|
||||
|
||||
interface Props {
|
||||
result?: ReprocessItemValues[];
|
||||
@@ -26,8 +26,8 @@ const { sortedArray, headerProps } = useSort(computed(() => props.result.map(r =
|
||||
|
||||
return { ...r, market, materials, ratio };
|
||||
})), {
|
||||
defaultSortKey: 'name',
|
||||
defaultSortDirection: 'asc'
|
||||
defaultSortKey: 'ratio',
|
||||
defaultSortDirection: 'desc'
|
||||
})
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user