From 64197636f0d1d9f4d1254d68abcaba9828b9a26d Mon Sep 17 00:00:00 2001 From: xds Date: Tue, 18 Nov 2025 10:14:27 +0300 Subject: [PATCH] fix tx isdone checkbox text size --- .../transactions/TransactionCreateUpdate.vue | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/components/transactions/TransactionCreateUpdate.vue b/src/components/transactions/TransactionCreateUpdate.vue index 9018db4..a296a9d 100644 --- a/src/components/transactions/TransactionCreateUpdate.vue +++ b/src/components/transactions/TransactionCreateUpdate.vue @@ -13,7 +13,6 @@ import {CreateTransactionDTO, UpdateTransactionDTO} from "@/models/transaction"; import {CategoryType, TransactionKind, TransactionKindName, TransactionType, TransactionTypeName} from "@/models/enums"; import {useTransactionStore} from "@/stores/transactions-store"; import {categoriesService} from "@/services/categories-service"; -import ex = CSS.ex; const route = useRoute(); @@ -51,7 +50,8 @@ const expenseCategories = computed(() => ? i.name.toLowerCase().includes(normalizedQuery.value) : true) ) -);const transactionId = ref(route.params.id) +); +const transactionId = ref(route.params.id) const mode = computed(() => { return transactionId.value ? "edit" : "create" }) @@ -249,7 +249,10 @@ onMounted(async () => { let updateDTO = buildUpdate() await transactionService.updateTransaction(spaceStore.selectedSpaceId, Number(transactionId.value), updateDTO) console.log(updateDTO) - await moveUser() + console.log(openMode) + if (openMode && openMode === "from_bot") { + tgApp.close() + } else await moveUser() } catch (e) { toast.add({ severity: "error", @@ -268,9 +271,9 @@ onMounted(async () => { let createDTO = buildCreate() await transactionService.createTransaction(spaceStore.selectedSpaceId, createDTO) console.log(openMode) - if (openMode && openMode === "from_bot"){ + if (openMode && openMode === "from_bot") { tgApp.close() - } else await moveUser() + } else await moveUser() } catch (e) { toast.add({ severity: "error", @@ -308,7 +311,8 @@ onMounted(async () => { :style="tgApp ? `padding-top: ${insetTop}px !important` : 'padding-top: 2rem !important'">
- +
Income categories