From 47762790ef633bdfcd98ca5f3fbab8fa8af6c07a Mon Sep 17 00:00:00 2001 From: Daniel Redetzke Date: Mon, 5 Oct 2026 23:41:27 +0300 Subject: [PATCH] Dashboard: no buttons next to the heading The Server config and Add peer buttons are gone from the Dashboard heading. Server is in the sidebar, Add peer is on the Peers page, and with no peers yet the Peers card still links to adding the first one. --- app.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app.js b/app.js index fbb0f19..c14a4c7 100644 --- a/app.js +++ b/app.js @@ -1063,10 +1063,7 @@ fill(wrap, h('div', { class: 'head' }, h('div', null, h('h1', null, 'Dashboard'), - h('p', { class: 'sub' }, 'Endpoint ', h('span', { class: 'mono' }, st.endpoint), ' · network ', h('span', { class: 'mono' }, st.ipv4))), - h('div', { class: 'actions' }, - h('a', { class: 'btn', href: '#/server' }, 'Server config'), - h('a', { class: 'btn primary', href: '#/peers/new' }, icon('plus', 16, 2), 'Add peer'))), + h('p', { class: 'sub' }, 'Endpoint ', h('span', { class: 'mono' }, st.endpoint), ' · network ', h('span', { class: 'mono' }, st.ipv4)))), failing.length ? h('div', { class: 'notice err', role: 'alert' }, h('div', null, h('strong', null, 'Needs attention: '), failing.map((c) => c.name + ' (' + c.detail + ')').join(' · ')),