From d9ce569eb9bb1e01226f97c1ff7416d4376afb79 Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Wed, 17 Apr 2024 17:21:44 +0100 Subject: [PATCH] Add a thing to encourage editing your profile. --- core/client.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/client.js b/core/client.js index e4d83a84..50a5db88 100644 --- a/core/client.js +++ b/core/client.js @@ -154,6 +154,10 @@ class TfNavigationElement extends LitElement { this.renderRoot.getElementById('id_dropdown').classList.toggle('w3-show'); } + edit_profile() { + window.location.href = '/~core/ssb/#' + this.identity; + } + render_identity() { let self = this; if (this.identities?.length) { @@ -169,6 +173,7 @@ class TfNavigationElement extends LitElement {
+ ${this.identities.map( (x) => html`