+ prediction

This commit is contained in:
xds
2025-04-07 18:47:56 +03:00
parent e97f5f8d5f
commit dbc8533598

View File

@@ -464,8 +464,8 @@ onMounted(async () => {
</div>
<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"
:class="isSelectedFromPredict && editedTransaction.category.id == category.id ? 'border-5 border-emerald-400' : ''"
<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' : 'border-gray-300'"
@click="selectCategory(category, true)">
<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">
@@ -479,10 +479,10 @@ onMounted(async () => {
}}</p>
</div>
</div>
<div>
<span :class="{'rotate-90': isCategorySelectorOpened}"
class="pi pi-angle-right transition-transform duration-300 text-5xl"/>
</div>
<!-- <div>-->
<!-- <span :class="{'rotate-90': isCategorySelectorOpened}"-->
<!-- class="pi pi-angle-right transition-transform duration-300 text-5xl"/>-->
<!-- </div>-->
</div>
</button>
<button v-if="predictedCategories.length>0"