diff --git a/apps/ssb/tf-profile.js b/apps/ssb/tf-profile.js index 4a490440..0be1822f 100644 --- a/apps/ssb/tf-profile.js +++ b/apps/ssb/tf-profile.js @@ -188,6 +188,10 @@ class TfProfileElement extends LitElement { } } + copy_id() { + navigator.clipboard.writeText(this.id); + } + render() { if ( this.id == this.whoami && @@ -287,6 +291,14 @@ class TfProfileElement extends LitElement { let description = this.editing?.description ?? profile.description; return html`
(${tfutils.human_readable_size(this.size)}) +
+
+ +
+
+ +
+
${edit_profile}