From d8e3b35c8817522cb3b823d59417f0f4488851a4 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 22 Nov 2022 17:30:37 +0100 Subject: luci-base: fix passing dispatched node details to templates Fixes: #6111 Fixes: 08ae8d40a9 ("luci-base, luci-lua-runtime: fix "dispatched" and "requested" properties") Signed-off-by: Jo-Philipp Wich --- modules/luci-base/ucode/template/header.ut | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/luci-base') diff --git a/modules/luci-base/ucode/template/header.ut b/modules/luci-base/ucode/template/header.ut index fb61da5146..e87560010f 100644 --- a/modules/luci-base/ucode/template/header.ut +++ b/modules/luci-base/ucode/template/header.ut @@ -22,7 +22,7 @@ ubuspath : config.main.ubuspath || '/ubus/', sessionid : ctx.authsession, token : ctx.authtoken, - nodespec : node, + nodespec : dispatched, apply_rollback : max(+config.apply.rollback || 90, 90), apply_holdoff : max(+config.apply.holdoff || 4, 1), apply_timeout : max(+config.apply.timeout || 5, 1), -- cgit v1.2.3