Open source personal finance application
refactor: move title inside SelectorCategory, remove title prop
Ilya Komichevd42c615510dc
diff --git a/app/components/trnForm/SelectorCategory.vue b/app/components/trnForm/SelectorCategory.vueindex 8f9993ad..93eee22a 100644--- a/app/components/trnForm/SelectorCategory.vue+++ b/app/components/trnForm/SelectorCategory.vue@@ -5,19 +5,19 @@ const props = defineProps<{bottomSheetStyle?: Record<string, string>category: CategoryItemcategoryId: CategoryId- title?: string}>()const emit = defineEmits<{selected: [id: CategoryId]}>()+const { t } = useI18n()const isShow = ref(false)</script><template><BottomSheetOrDropdown- :title="props.title"+ :title="t('trnForm.category.select')":isOpen="isShow":bottomSheetStyle="props.bottomSheetStyle"dragClassesCustom="h-full max-w-md"