fix empty category
This commit is contained in:
@@ -374,7 +374,14 @@ onMounted(async () => {
|
|||||||
<div class="flex card !justify-start !items-start !p-4 !pl-5 cursor-pointer"
|
<div class="flex card !justify-start !items-start !p-4 !pl-5 cursor-pointer"
|
||||||
@click="isCategorySelectorOpened = true; isCategoryError=false;">
|
@click="isCategorySelectorOpened = true; isCategoryError=false;">
|
||||||
<div class="flex flex-row w-full gap-2 items-center justify-between">
|
<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>
|
<span class="!text-3xl ">{{ transactionCategory.icon }}</span>
|
||||||
<div class="flex flex-col ">
|
<div class="flex flex-col ">
|
||||||
<span class=" !">{{ transactionCategory.name }}
|
<span class=" !">{{ transactionCategory.name }}
|
||||||
|
|||||||
Reference in New Issue
Block a user