ssb: Fix multiple bugs with follow status lying.

This commit is contained in:
2025-01-27 20:28:44 -05:00
parent ffe1299548
commit 04878fcc30
3 changed files with 5 additions and 5 deletions

View File

@ -20,7 +20,7 @@ class TfUserElement extends LitElement {
render() {
let user = this.users[this.id];
let shape = !user || user.follow_depth >= 2 ? 'w3-circle' : 'w3-round';
let shape = !user?.follow_depth || user.follow_depth >= 2 ? 'w3-circle' : 'w3-round';
let image = html`<span
class=${'w3-theme-l4 ' + shape}
style="display: inline-block; width: 2em; height: 2em; text-align: center; line-height: 2em"