mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-04-28 13:57:50 +00:00
Removed console.logs
This commit is contained in:
parent
d40397ff79
commit
0c79113225
@ -7,8 +7,6 @@ import '@vaadin/button';
|
|||||||
import '@polymer/paper-progress/paper-progress.js';
|
import '@polymer/paper-progress/paper-progress.js';
|
||||||
import { cropAddress } from '../../../utils/cropAddress.js';
|
import { cropAddress } from '../../../utils/cropAddress.js';
|
||||||
|
|
||||||
// const parentEpml = new Epml({ type: "WINDOW", source: window.parent });
|
|
||||||
|
|
||||||
export class UserInfo extends LitElement {
|
export class UserInfo extends LitElement {
|
||||||
static get properties() {
|
static get properties() {
|
||||||
return {
|
return {
|
||||||
@ -35,7 +33,6 @@ export class UserInfo extends LitElement {
|
|||||||
const imageHTMLRes = new Image();
|
const imageHTMLRes = new Image();
|
||||||
imageHTMLRes.src = imageUrl;
|
imageHTMLRes.src = imageUrl;
|
||||||
imageHTMLRes.classList.add("user-info-avatar");
|
imageHTMLRes.classList.add("user-info-avatar");
|
||||||
// imageHTMLRes.style= "width:30px; height:30px; float: left; border-radius:50%; font-size:14px";
|
|
||||||
imageHTMLRes.onload = () => {
|
imageHTMLRes.onload = () => {
|
||||||
this.isImageLoaded = true;
|
this.isImageLoaded = true;
|
||||||
}
|
}
|
||||||
@ -52,14 +49,6 @@ export class UserInfo extends LitElement {
|
|||||||
return imageHTMLRes;
|
return imageHTMLRes;
|
||||||
}
|
}
|
||||||
|
|
||||||
updated(changedProperties) {
|
|
||||||
if (changedProperties && changedProperties.has('selectedHead')) {
|
|
||||||
if (this.selectedHead) {
|
|
||||||
console.log(this.selectedHead, "selected head")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
let avatarImg = "";
|
let avatarImg = "";
|
||||||
if (this.selectedHead && this.selectedHead.name) {
|
if (this.selectedHead && this.selectedHead.name) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user