This commit is contained in:
Vladimir Voronin
2024-10-31 09:21:10 +03:00
parent 992fe1402a
commit c2b8787ed4
4 changed files with 31 additions and 20 deletions

View File

@@ -76,6 +76,7 @@
<!-- <i class="pi pi-check text-2xl" style="font-size: 1.5rem"></i>-->
<p>Настройки</p>
</router-link>
<button @click="refreshPage"><p class="text-left"><i class="pi pi-refresh"/>Обновить страницу</p></button>
</div>
</div>
</div>
@@ -101,7 +102,9 @@ const transactionType = ref<TransactionType>()
const categoryType = ref<CategoryType>()
const drawerOpened = ref(false);
const refreshPage = () => {
window.location.reload(true)
}
const openDrawer = (selectedTransactionType = null, selectedCategoryType = null) => {
if (selectedTransactionType && selectedCategoryType) {
transactionType.value = selectedTransactionType;