fix: fix a few typos

This commit is contained in:
Sophie-Gaëlle CALLOCH
2026-07-07 15:51:53 +02:00
parent 75d1d5f7fa
commit 55c2628c75
9 changed files with 31 additions and 31 deletions
+4 -4
View File
@@ -27,7 +27,7 @@ type Result = {
interface Props {
items?: ScanResult[];
infoOnly?: boolean;
ignoredColums?: string[] | string;
ignoredColumns?: string[] | string;
}
const scoreFormater = new Intl.NumberFormat("en-US", {
@@ -40,7 +40,7 @@ const volumeFormater = new Intl.NumberFormat("en-US", {
const props = withDefaults(defineProps<Props>(), {
items: () => [],
infoOnly: false,
ignoredColums: () => []
ignoredColumns: () => []
});
const acquiredTypesStore = useAcquiredTypesStore();
@@ -54,7 +54,7 @@ const trackedTrends = useStorage<MarketTrend[]>('market-scan-trends', [
MarketTrends.Down,
]);
const columnsToIgnore = computed(() =>
typeof props.ignoredColums === 'string' ? [props.ignoredColums] : props.ignoredColums
typeof props.ignoredColumns === 'string' ? [props.ignoredColumns] : props.ignoredColumns
);
const { sortedArray, headerProps, showColumn } = useSort<Result>(computed(() => props.items
.filter(r => r.type.name.toLowerCase().includes(filter.value.toLowerCase()))
@@ -82,7 +82,7 @@ const { sortedArray, headerProps, showColumn } = useSort<Result>(computed(() =>
}).filter(r => !onlyCheap.value || (r.buy <= r.q1 && r.profit >= (threshold.value / 100)))), {
defaultSortKey: 'score',
defaultSortDirection: 'desc',
ignoredColums: columnsToIgnore
ignoredColumns: columnsToIgnore
})
const getLineColor = (result: Result) => {
if (props.infoOnly) {