+ prediction
This commit is contained in:
@@ -464,8 +464,8 @@ onMounted(async () => {
|
|||||||
</div>
|
</div>
|
||||||
<div class="grid grid-cols-2 gap-2">
|
<div class="grid grid-cols-2 gap-2">
|
||||||
|
|
||||||
<button v-for="category in predictedCategories" class="border-2 border-gray-300 rounded-lg w-full z-40"
|
<button v-for="category in predictedCategories" class="border-2 rounded-lg w-full z-40"
|
||||||
:class="isSelectedFromPredict && editedTransaction.category.id == category.id ? 'border-5 border-emerald-400' : ''"
|
:class="isSelectedFromPredict && editedTransaction.category.id == category.id ? 'border-5 border-emerald-400' : 'border-gray-300'"
|
||||||
@click="selectCategory(category, true)">
|
@click="selectCategory(category, true)">
|
||||||
<div class="flex flex-row items-center pe-4 py-2 ">
|
<div class="flex flex-row items-center pe-4 py-2 ">
|
||||||
<div class="flex flex-row justify-between w-full gap-4 px-4 items-center">
|
<div class="flex flex-row justify-between w-full gap-4 px-4 items-center">
|
||||||
@@ -479,10 +479,10 @@ onMounted(async () => {
|
|||||||
}}</p>
|
}}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<!-- <div>-->
|
||||||
<span :class="{'rotate-90': isCategorySelectorOpened}"
|
<!-- <span :class="{'rotate-90': isCategorySelectorOpened}"-->
|
||||||
class="pi pi-angle-right transition-transform duration-300 text-5xl"/>
|
<!-- class="pi pi-angle-right transition-transform duration-300 text-5xl"/>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</div>
|
</div>
|
||||||
</button>
|
</button>
|
||||||
<button v-if="predictedCategories.length>0"
|
<button v-if="predictedCategories.length>0"
|
||||||
|
|||||||
Reference in New Issue
Block a user