fix events icon, misc errors, new sidebar started
This commit is contained in:
@@ -10,7 +10,8 @@ class PeopleCard extends Shadow {
|
||||
render() {
|
||||
HStack(() => {
|
||||
HStack(() => {
|
||||
if (!this.imgSrc.includes("null")) {
|
||||
console.log(this.imgSrc)
|
||||
if (this.imgSrc && !this.imgSrc.includes("null")) {
|
||||
img(this.imgSrc, "3em", "3em")
|
||||
.borderRadius(100, pct)
|
||||
}
|
||||
@@ -37,7 +38,9 @@ class PeopleCard extends Shadow {
|
||||
}
|
||||
|
||||
connectedCallback() {
|
||||
this.imgSrc = `${util.HOST}${this.person.image_path}`
|
||||
if(this.person.image_path) {
|
||||
this.imgSrc = `${util.HOST}${this.person.image_path}`
|
||||
}
|
||||
}
|
||||
|
||||
convertDate(rawDate) {
|
||||
|
||||
Reference in New Issue
Block a user