removed console logs

This commit is contained in:
Fran Jurmanovic
2021-08-02 04:32:57 -07:00
parent 86a8852784
commit ceee4a594b
3 changed files with 0 additions and 6 deletions

View File

@@ -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;

View File

@@ -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'))}`;
} }

View File

@@ -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