new version of budget view

This commit is contained in:
xds
2025-02-11 16:06:25 +03:00
parent b434640162
commit e26f37b7be

View File

@@ -942,9 +942,10 @@ onMounted(async () => {
<span class="text-2xl font-bold line-clamp-1">{{
category.name.category.icon
}} {{ category.name.category.name }}</span>
<div class="flex flex-row line-clamp-1">
<div class="flex flex-row line-clamp-1 gap-1">
<span>{{ formatAmount(category.name.currentSpent) }} / </span>
<span>{{ formatAmount(category.name.currentSpent) }} </span>
<span> / </span>
<!-- Если редактируемая категория показываем input -->
<input
v-if="editingCategoryId === category.name.category.id"