Skip to content
Commit 1da816dd authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

luci-lua-runtime: dispatcher.lua: translate legacy node "target" property



Some legacy Lua controllers declare menu entries by first invoking `node()`
and then setting the `.target` property on the resulting object.

Make sure to properly translate such menu nodes into the internal menu
JSON representation.

Fixes: #6090
Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
parent 73aca68b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment