forked from cory/tildefriends
ssb: Show drafts in the sidebar.
This commit is contained in:
parent
20c7a71db6
commit
771759b252
@ -216,6 +216,13 @@ class TfTabNewsElement extends LitElement {
|
||||
style=${this.hash == '#🔐' ? 'font-weight: bold' : undefined}
|
||||
>🔐private ${this.unread_status('🔐')}</a
|
||||
>
|
||||
${Object.keys(this.drafts).sort().map(x => html`
|
||||
<a
|
||||
href=${'#' + encodeURIComponent(x)}
|
||||
class="w3-bar-item w3-button"
|
||||
style="text-wrap: nowrap; text-overflow: ellipsis">📝 ${this.drafts[x]?.text ?? x}</a
|
||||
>
|
||||
`)}
|
||||
${this.channels.map(
|
||||
(x) => html`
|
||||
<a
|
||||
|
Loading…
Reference in New Issue
Block a user