multiple changes

WW-26 - render and update methods are now arrow functions
WW-18 - created history page for listing transactions
WW-12 - list wallets on menu
This commit is contained in:
Fran Jurmanović
2021-05-31 18:23:39 +02:00
parent 53c27718a9
commit 551543a9e7
19 changed files with 262 additions and 64 deletions

View File

@@ -136,7 +136,6 @@ class RouterService {
}
}
@update
goBack() {
if (!Array.isArray(this.historyStack)) this.historyStack = [];
const lenHistory = this.historyStack.length;
@@ -147,14 +146,15 @@ class RouterService {
window.history.pushState({}, "", url.toString());
this.historyStack.pop();
}
this.update();
}
@update
init() {
window.addEventListener("popstate", () => {
this.historyStack.pop();
this.update();
});
this.update();
}
findByPath() {