wishlists

This commit is contained in:
xds
2025-03-03 10:33:14 +03:00
parent a8bdb0eeab
commit 6c623918b0
20 changed files with 1471 additions and 20 deletions

View File

@@ -116,7 +116,8 @@ const selectedSpace = computed(() => spaceStore.space)
watch(selectedSpace, async (newValue, oldValue) => {
if (newValue != oldValue) {
await fetchTransactions(false)
transactions.value = [];
await fetchTransactions(true)
}
})
const types = ref([])
@@ -183,7 +184,7 @@ onUnmounted(async () => {
@transaction-updated="fetchTransactions(true)"
@delete-transaction="fetchTransactions(true)"
/>
<div class="flex items-center justify-center px-2 py-1 mb-5">
<div v-if="!loading" class="flex items-center justify-center px-2 py-1 mb-5">
<Button @click="fetchTransactions(false)">Загрузить следующие...</Button>
</div>
<!-- Показать спиннер загрузки, если идет загрузка -->