diff --git a/frontend/src/ServerManager.jsx b/frontend/src/ServerManager.jsx index 292074e..8ecd055 100644 --- a/frontend/src/ServerManager.jsx +++ b/frontend/src/ServerManager.jsx @@ -34,6 +34,7 @@ import { ServerBulkActions } from './components/server/index.js'; import PageHeader from './components/PageHeader.jsx'; +import PageHeaderActions from './components/PageHeaderActions.jsx'; const API_URL = '/api'; @@ -550,6 +551,11 @@ function ServerManager() { } }; + const handleRefreshAll = () => { + fetchServers(); + fetchConnections(); + }; + // === Connections === const addConnectionInternal = (draft) => { if (!draft.from || !draft.to || !draft.tunnelType || !draft.ipA || !draft.ipB) { @@ -587,36 +593,53 @@ function ServerManager() { return (