fix empty category

This commit is contained in:
xds
2025-11-07 15:41:52 +03:00
parent 500e87a80b
commit 30397c024c

View File

@@ -374,7 +374,14 @@ onMounted(async () => {
<div class="flex card !justify-start !items-start !p-4 !pl-5 cursor-pointer"
@click="isCategorySelectorOpened = true; isCategoryError=false;">
<div class="flex flex-row w-full gap-2 items-center justify-between">
<div class="flex flex-row gap-2 items-center">
<div v-if="transactionCategory" class="flex flex-row gap-2 items-center">
<span class="!text-3xl ">{{ transactionCategory.icon }}</span>
<div class="flex flex-col ">
<span class=" !">{{ transactionCategory.name }}
</span>
</div>
</div>
<div v-else class="flex flex-row gap-2 items-center">
<span class="!text-3xl ">{{ transactionCategory.icon }}</span>
<div class="flex flex-col ">
<span class=" !">{{ transactionCategory.name }}