From f2b19adbef6ccba87bdfe55ff78d2fa5a70ea4aa Mon Sep 17 00:00:00 2001 From: DTTerastar
Loading settings...
+Error: {error}
+No settings available.
+These settings will be applied to every node, including new nodes.
+ +{error}
+{:else if node} +Loading...
+{/if} diff --git a/src/ui/src/routes/nodes/[id]/+page.ts b/src/ui/src/routes/nodes/[id]/+page.ts index dfb014c9..df7c64bb 100644 --- a/src/ui/src/routes/nodes/[id]/+page.ts +++ b/src/ui/src/routes/nodes/[id]/+page.ts @@ -1,7 +1,7 @@ import { base } from '$app/paths'; export async function load({ fetch, params }) { - return await fetch(`${base}/api/node/${params.id}`) + return await fetch(`${base}/api/node/${params.id}/settings`) .then((response) => { if (response.status != 200) throw new Error(response.statusText); var data = response.json();