ssb: Use the right shape for your own profile image.
Some checks failed
Build Tilde Friends / Build-All (push) Has been cancelled
Some checks failed
Build Tilde Friends / Build-All (push) Has been cancelled
This commit is contained in:
parent
11e89622d4
commit
09f3595e93
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"type": "tildefriends-app",
|
"type": "tildefriends-app",
|
||||||
"emoji": "🦀",
|
"emoji": "🦀",
|
||||||
"previous": "&weo9lucKMSz3xzM6l3knRepNnyRIzKlaJnP9NDJAk+g=.sha256"
|
"previous": "&jAAzd36Nmpw0sRA1Dx9wLiIwGX+q//+S/Han+RLlEOw=.sha256"
|
||||||
}
|
}
|
||||||
|
@ -21,7 +21,7 @@ class TfUserElement extends LitElement {
|
|||||||
render() {
|
render() {
|
||||||
let user = this.users[this.id];
|
let user = this.users[this.id];
|
||||||
let shape =
|
let shape =
|
||||||
!user?.follow_depth || user.follow_depth >= 2 ? 'w3-circle' : 'w3-round';
|
user?.follow_depth === undefined || user.follow_depth >= 2 ? 'w3-circle' : 'w3-round';
|
||||||
let image = html`<span
|
let image = html`<span
|
||||||
class=${'w3-theme-l4 ' + shape}
|
class=${'w3-theme-l4 ' + shape}
|
||||||
style="display: inline-block; width: 2em; height: 2em; text-align: center; line-height: 2em"
|
style="display: inline-block; width: 2em; height: 2em; text-align: center; line-height: 2em"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user