This commit is contained in:
2025-05-11 21:54:53 -04:00
parent 799f22e989
commit 35656a5c34
3 changed files with 18 additions and 13 deletions

View File

@ -242,12 +242,11 @@ class TfProfileElement extends LitElement {
</div>
</div>`
: null;
let image =profile.image;
let image = profile.image;
if (typeof image == 'string' && !image.startsWith('&')) {
try {
image = JSON.parse(image)?.link;
} catch {
}
} catch {}
}
image = this.editing?.image ?? image;
let description = this.editing?.description ?? profile.description;