mirror of
https://github.com/FJurmanovic/wallet-web.git
synced 2026-02-06 06:08:10 +00:00
removed console logs
This commit is contained in:
@@ -53,7 +53,6 @@ class AppLinkElement extends BaseComponentElement {
|
|||||||
|
|
||||||
get disabled(): boolean {
|
get disabled(): boolean {
|
||||||
if (isTrue(this.goBack)) {
|
if (isTrue(this.goBack)) {
|
||||||
console.log(this.routerService)
|
|
||||||
return this.routerService?.emptyState;
|
return this.routerService?.emptyState;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
@@ -42,7 +42,6 @@ class AppMenuElement extends BaseComponentElement {
|
|||||||
setWallets = (wallets: Array<any>, totalWallets: number): void => {
|
setWallets = (wallets: Array<any>, totalWallets: number): void => {
|
||||||
this.walletData = wallets;
|
this.walletData = wallets;
|
||||||
this.totalWallets = totalWallets;
|
this.totalWallets = totalWallets;
|
||||||
console.log(wallets)
|
|
||||||
this.update();
|
this.update();
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -100,8 +99,6 @@ class AppMenuElement extends BaseComponentElement {
|
|||||||
render = (): TemplateResult => {
|
render = (): TemplateResult => {
|
||||||
const { isAuth, totalWallets, walletData } = this;
|
const { isAuth, totalWallets, walletData } = this;
|
||||||
|
|
||||||
console.log(walletData)
|
|
||||||
|
|
||||||
const regularMenu = (path: string, title: string, action?: string, className?: string): TemplateResult => {
|
const regularMenu = (path: string, title: string, action?: string, className?: string): TemplateResult => {
|
||||||
if (action) {
|
if (action) {
|
||||||
return html`
|
return html`
|
||||||
@@ -131,7 +128,6 @@ class AppMenuElement extends BaseComponentElement {
|
|||||||
};
|
};
|
||||||
const renderWallets = (wallets: Array<any>) => {
|
const renderWallets = (wallets: Array<any>) => {
|
||||||
if (isAuth && totalWallets > 0) {
|
if (isAuth && totalWallets > 0) {
|
||||||
console.log(wallets[0].name)
|
|
||||||
return html`<div class="menu-item divider"></div>
|
return html`<div class="menu-item divider"></div>
|
||||||
${wallets.map((wallet) => regularMenu(`/wallet/${wallet.id}`, wallet.name, '', '--wallet'))}`;
|
${wallets.map((wallet) => regularMenu(`/wallet/${wallet.id}`, wallet.name, '', '--wallet'))}`;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -48,7 +48,6 @@ class MenuItemElement extends BaseComponentElement {
|
|||||||
};
|
};
|
||||||
|
|
||||||
render = (): TemplateResult => {
|
render = (): TemplateResult => {
|
||||||
console.log(this.title)
|
|
||||||
return html`
|
return html`
|
||||||
<div class="${this.current ? 'selected ' : ''}menu-item" data-target="menu-item.itemEl">
|
<div class="${this.current ? 'selected ' : ''}menu-item" data-target="menu-item.itemEl">
|
||||||
<app-link class="${this.className}" data-to="${this.path}" data-custom-action="click:menu-item#itemClick" data-title="${this.title}"></app-link
|
<app-link class="${this.className}" data-to="${this.path}" data-custom-action="click:menu-item#itemClick" data-title="${this.title}"></app-link
|
||||||
|
|||||||
Reference in New Issue
Block a user