From: Jo-Philipp Wich Date: Tue, 22 Nov 2022 16:30:37 +0000 (+0100) Subject: luci-base: fix passing dispatched node details to templates X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=d8e3b35c8817522cb3b823d59417f0f4488851a4;p=project%2Fluci.git 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 --- 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),