fix UI
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user