Skip to content

Open source personal finance application

fix: add missing getTrnTypeByAmount import in Round2lines and Line

Ilya Komichev6f959e6d188d
diff --git a/app/components/stat/categories/Line.vue b/app/components/stat/categories/Line.vue
index 05a407bf..283b0b10 100644
--- a/app/components/stat/categories/Line.vue
+++ b/app/components/stat/categories/Line.vue
@@ -7,6 +7,7 @@ import { useCurrenciesStore } from '~/components/currencies/useCurrenciesStore'
import { computeBarStyle } from '~/components/stat/categories/barUtils'
import { useCategoryLongPress } from '~/components/stat/categories/useCategoryLongPress'
import { statConfigKey } from '~/components/stat/injectionKeys'
+import { getTrnTypeByAmount } from '~/components/trns/types'
const props = defineProps<{
insideClass?: string
diff --git a/app/components/stat/categories/Round2lines.vue b/app/components/stat/categories/Round2lines.vue
index 40eb4502..e8ead044 100644
--- a/app/components/stat/categories/Round2lines.vue
+++ b/app/components/stat/categories/Round2lines.vue
@@ -5,6 +5,7 @@ import type { CategoryWithData } from '~/components/stat/types'
import { useCategoriesStore } from '~/components/categories/useCategoriesStore'
import { useCurrenciesStore } from '~/components/currencies/useCurrenciesStore'
import { useCategoryLongPress } from '~/components/stat/categories/useCategoryLongPress'
+import { getTrnTypeByAmount } from '~/components/trns/types'
const props = defineProps<{
isShowAmount?: boolean