mirror of
https://github.com/FJurmanovic/wallet-web.git
synced 2026-02-06 06:08:10 +00:00
custom callbacks from base element
This commit is contained in:
@@ -16,7 +16,7 @@ class AppMainElement extends BaseComponentElement {
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
connectedCallback() {
|
||||
elementConnected = () => {
|
||||
if (this.appMain !== this) return;
|
||||
const mainRoot = this.createMainRoot();
|
||||
this.httpClient = new HttpClient();
|
||||
@@ -70,7 +70,7 @@ class AppMainElement extends BaseComponentElement {
|
||||
},
|
||||
]);
|
||||
this.routerService.init();
|
||||
}
|
||||
};
|
||||
|
||||
middleAuth = () => {
|
||||
if (!this.isAuth) {
|
||||
|
||||
Reference in New Issue
Block a user