accounts: pagination, server-side search
Pagination fully factored out, and both Activities and Accounts now use a PaginatedList superclass. Server-side search is done by pressing enter after typing a search, or by pressing the search button. Works on accounts, soon will on activities if it doesn't already.
This commit is contained in:
+5
-1
@@ -148,12 +148,16 @@ const tabs: { id: string, url: string, reloader: () => void }[] = [
|
||||
// Don't keep loading the same item on every tab refresh
|
||||
isAccountURL = false;
|
||||
}
|
||||
window.onscroll = accounts.detectScroll;
|
||||
}),
|
||||
},
|
||||
{
|
||||
id: "activity",
|
||||
url: "activity",
|
||||
reloader: activity.reload
|
||||
reloader: () => {
|
||||
activity.reload()
|
||||
window.onscroll = activity.detectScroll;
|
||||
},
|
||||
},
|
||||
{
|
||||
id: "settings",
|
||||
|
||||
Reference in New Issue
Block a user