fix events icon, misc errors, new sidebar started

This commit is contained in:
metacryst
2026-03-20 09:27:56 -05:00
parent 41a9c9d269
commit 8fad5d7717
6 changed files with 254 additions and 158 deletions

View File

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