ssb: The unread line can be used to make everything above read.
This commit is contained in:
@ -233,7 +233,19 @@ class TfNewsElement extends LitElement {
|
||||
<div
|
||||
style="border-bottom: 1px solid #f00; flex: 1; align-self: center; height: 1px"
|
||||
></div>
|
||||
<div style="color: #f00; padding: 8px">unread</div>
|
||||
<button
|
||||
style="color: #f00; padding: 8px"
|
||||
class="w3-button"
|
||||
@click=${() =>
|
||||
this.dispatchEvent(
|
||||
new Event('mark_all_read', {
|
||||
bubbles: true,
|
||||
composed: true,
|
||||
})
|
||||
)}
|
||||
>
|
||||
unread
|
||||
</button>
|
||||
<div
|
||||
style="border-bottom: 1px solid #f00; flex: 1; align-self: center; height: 1px"
|
||||
></div>
|
||||
|
Reference in New Issue
Block a user