From f18680611741616593c0aec7401ae227350ba508 Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Fri, 29 Dec 2023 20:13:35 +0000 Subject: [PATCH] wiki size fix and allow replying/reacting to blog posts in the ssb app. git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4703 ed5197a5-7fde-0310-b194-c3ffbd925b24 --- apps/ssb.json | 2 +- apps/ssb/tf-message.js | 16 ++++++++++++++++ apps/wiki.json | 2 +- apps/wiki/tf-wiki-app.js | 1 + 4 files changed, 19 insertions(+), 2 deletions(-) diff --git a/apps/ssb.json b/apps/ssb.json index 9d93c350..33fc6733 100644 --- a/apps/ssb.json +++ b/apps/ssb.json @@ -1,5 +1,5 @@ { "type": "tildefriends-app", "emoji": "🐌", - "previous": "&dO6ckMIPVv9QvSc+0TOg0S59qe+rirPo2a6p9xSHj9M=.sha256" + "previous": "&gIezHqlyWYcKeUSSKq6lUcv+6jUlnFFPLpdRBs0KJHk=.sha256" } \ No newline at end of file diff --git a/apps/ssb/tf-message.js b/apps/ssb/tf-message.js index 1f780d42..1575c663 100644 --- a/apps/ssb/tf-message.js +++ b/apps/ssb/tf-message.js @@ -484,6 +484,17 @@ class TfMessageElement extends LitElement { `; break; } + let reply = (this.drafts[this.message?.id] !== undefined) ? html` + + ` : html` + + `; return html`