diff options
author | Jo-Philipp Wich <jo@mein.io> | 2022-11-22 17:30:37 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2022-11-22 17:31:37 +0100 |
commit | d8e3b35c8817522cb3b823d59417f0f4488851a4 (patch) | |
tree | bc862ae5ed952fed657a17d98bbd47b77e6b65a4 /modules/luci-base | |
parent | 9d10c2e671283f7b089ceb912e103e6ebf8ed720 (diff) |
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 <jo@mein.io>
Diffstat (limited to 'modules/luci-base')
-rw-r--r-- | modules/luci-base/ucode/template/header.ut | 2 |
1 files changed, 1 insertions, 1 deletions
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), |