This commit is contained in:
2026-09-23 15:14:54 +07:00
parent cdaa56febd
commit bd8ba94301
3 changed files with 20 additions and 2 deletions

View File

@@ -117,7 +117,7 @@ class AccountManager {
this.assetBorrows = [];
this.assetBorrowSearchTerm = '';
this.assetBorrowTypeFilter = '';
this.assetBorrowCatalogFilter = '';
this.assetBorrowCatalogFilter = 'current';
this.myBorrowedAssetSearchTerm = '';
this.assetBorrowProductSearchTimer = undefined;
this.assetBorrowProductItems = [];
@@ -312,6 +312,10 @@ class AccountManager {
}
renderView(page) {
if (page === 'asset-borrows' && this.currentPage !== 'asset-borrows') {
this.assetBorrowCatalogFilter = 'current';
this.assetBorrowPage = 1;
}
this.currentPage = page;
const mainContent = document.getElementById('mainContent');
if (!mainContent) return;