wishlists
This commit is contained in:
@@ -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>
|
||||
<!-- Показать спиннер загрузки, если идет загрузка -->
|
||||
|
||||
Reference in New Issue
Block a user