From 771759b252ea8a4fe0253401011db828abda0ccb Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Mon, 23 Dec 2024 12:23:14 -0500 Subject: [PATCH] ssb: Show drafts in the sidebar. --- apps/ssb/tf-tab-news.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/apps/ssb/tf-tab-news.js b/apps/ssb/tf-tab-news.js index 00efec71e..28cacb978 100644 --- a/apps/ssb/tf-tab-news.js +++ b/apps/ssb/tf-tab-news.js @@ -216,6 +216,13 @@ class TfTabNewsElement extends LitElement { style=${this.hash == '#πŸ”' ? 'font-weight: bold' : undefined} >πŸ”private ${this.unread_status('πŸ”')} + ${Object.keys(this.drafts).sort().map(x => html` + πŸ“ ${this.drafts[x]?.text ?? x} + `)} ${this.channels.map( (x) => html`