implemented wallet create modal

This commit is contained in:
Fran Jurmanović
2021-06-03 19:18:15 +02:00
parent f3acb4e15a
commit 4578114cfe
4 changed files with 98 additions and 3 deletions

View File

@@ -38,13 +38,13 @@ class HomePageElement extends BasePageElement {
if (_modal) {
this.appMain.closeModal();
} else {
this.appMain.createModal("login-page");
this.appMain.createModal("wallet-create");
}
};
render = (): TemplateResult => {
return html`
<button data-action="click:home-page#openModal">Test</button>
<button data-action="click:home-page#openModal">New Wallet</button>
`;
};
}