Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Polish: Usage of NodesAPI in NodeModal
rcourtman8e4e2d4af28a
diff --git a/frontend-modern/src/components/Settings/NodeModal.tsx b/frontend-modern/src/components/Settings/NodeModal.tsxindex 73d1c1c848..29dabb5631 100644--- a/frontend-modern/src/components/Settings/NodeModal.tsx+++ b/frontend-modern/src/components/Settings/NodeModal.tsx@@ -791,14 +791,9 @@ export const NodeModal: Component<NodeModalProps> = (props) => {logger.debug('[Agent Install] Copy button clicked');try {setLoadingAgentCommand(true);- const { apiFetch } = await import('@/utils/apiClient');- const response = await apiFetch('/api/agent-install-command', {- method: 'POST',- headers: { 'Content-Type': 'application/json' },- body: JSON.stringify({- type: 'pve',- enableProxmox: true,- }),+ const data = await NodesAPI.getAgentInstallCommand({+ type: 'pve',+ enableProxmox: true,});if (response.ok) {