ssb: Move the refresh/sync button to the navigation bar as an experiment.
Some checks failed
Build Tilde Friends / Build-All (push) Has been cancelled

This commit is contained in:
2024-11-23 16:49:33 -05:00
parent f9ec796291
commit b6bfdec48d
3 changed files with 12 additions and 14 deletions

View File

@ -321,6 +321,10 @@ class TfElement extends LitElement {
}
}
refresh() {
tfrpc.rpc.sync();
}
render() {
let self = this;
@ -341,6 +345,12 @@ class TfElement extends LitElement {
let tabs = html`
<div class="w3-bar w3-theme-l1">
<button
class="w3-bar-item w3-button w3-circle w3-ripple"
@click=${this.refresh}
>
</button>
${Object.entries(k_tabs).map(
([k, v]) => html`
<button