This commit is contained in:
Timothy Jaeryang Baek committed 2026-11-10 23:00:02 +09:00
1 parent f4cf2ca0c7
commit ae7df17cea
1 file changed
+3 -2
@@ -157,10 +157,11 @@
async function load() {
if (!terminalId) return;
// The form fills from the terminal alone; machines and access load beside it.
const [template, grants] = await Promise.all([
templatesApi(path(terminalId)),
templatesApi(`${path(terminalId)}/access`),
loadMachines()
templatesApi(`${path(terminalId)}/access`).catch(() => []),
loadMachines().catch(() => (machines = []))
]);
const data = template?.data ?? {};
name = data.name ?? '';