diff --git a/nuxt/components/Features.vue b/nuxt/components/Features.vue index fec150a6..ebcc913f 100644 --- a/nuxt/components/Features.vue +++ b/nuxt/components/Features.vue @@ -17,7 +17,7 @@ תכונות \\"\\" - \\"\\" + \\"\\" " `; diff --git a/package.json b/package.json index 7e46d2d2..7dd4558d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hiuvi", - "version": "0.0.2-beta", + "version": "0.0.3-beta", "author": "Jonathan Goldfarb ", "description": "An electron app for automating expense tracking", "license": "MIT", diff --git a/src/backend/export/outputVendors/csv/csv.ts b/src/backend/export/outputVendors/csv/csv.ts index 55c3ff7a..5d833cc3 100644 --- a/src/backend/export/outputVendors/csv/csv.ts +++ b/src/backend/export/outputVendors/csv/csv.ts @@ -10,10 +10,13 @@ import parse from 'csv-parse/lib/sync'; export function parseTransactions(csvText: string) { return parse(csvText, { columns: true, + bom: true, + ltrim: true, + rtrim: true, cast: (value, context) => { return parseColumn(value, context.column); } - }) as EnrichedTransaction[]; + }) as unknown as EnrichedTransaction[]; } function parseColumn(value:string, column) { diff --git a/src/ui/components/app/ReportProblemDialog.vue b/src/ui/components/app/ReportProblemDialog.vue index 7baf8b6d..395d5c56 100644 --- a/src/ui/components/app/ReportProblemDialog.vue +++ b/src/ui/components/app/ReportProblemDialog.vue @@ -97,7 +97,7 @@ import { shell } from 'electron'; import Sentry from '@/logging/sentry'; import LogSheet from '@/ui/components/shared/LogSheet'; import os from 'os'; -import { getLastLines, getLogsFolder } from '@/logging/logger'; +import logger, { getLastLines, getLogsFolder } from '@/logging/logger'; import { defineComponent } from '@vue/composition-api'; import { repository } from '../../../../package.json'; @@ -179,7 +179,7 @@ export default defineComponent({ this.formData.details, this.formData.attachLogs ? this.raw : '', ); - this.$logger.info(`Open bug report url with title: ${this.formData.title}`); + logger.info(`Open bug report url with title: ${this.formData.title}`); shell.openExternal(url); } }, @@ -193,7 +193,7 @@ export default defineComponent({ this.formData.email, ); - this.$logger.info(`Problem reported. Event ${eventId}`); + logger.info(`Problem reported. Event ${eventId}`); this.dialog = false; } },