Browse Source

Removed console.logs

q-apps
Justin Ferrari 2 years ago
parent
commit
0c79113225
  1. 11
      qortal-ui-plugins/plugins/core/components/UserInfo/UserInfo.js

11
qortal-ui-plugins/plugins/core/components/UserInfo/UserInfo.js

@ -7,8 +7,6 @@ import '@vaadin/button';
import '@polymer/paper-progress/paper-progress.js';
import { cropAddress } from '../../../utils/cropAddress.js';
// const parentEpml = new Epml({ type: "WINDOW", source: window.parent });
export class UserInfo extends LitElement {
static get properties() {
return {
@ -35,7 +33,6 @@ export class UserInfo extends LitElement {
const imageHTMLRes = new Image();
imageHTMLRes.src = imageUrl;
imageHTMLRes.classList.add("user-info-avatar");
// imageHTMLRes.style= "width:30px; height:30px; float: left; border-radius:50%; font-size:14px";
imageHTMLRes.onload = () => {
this.isImageLoaded = true;
}
@ -52,14 +49,6 @@ export class UserInfo extends LitElement {
return imageHTMLRes;
}
updated(changedProperties) {
if (changedProperties && changedProperties.has('selectedHead')) {
if (this.selectedHead) {
console.log(this.selectedHead, "selected head")
}
}
}
render() {
let avatarImg = "";
if (this.selectedHead && this.selectedHead.name) {

Loading…
Cancel
Save