luci-app-dockerman: Update to play nice with recent changes
authorAndrew Dodd <atd7@cornell.edu>
Sat, 14 Jan 2023 08:01:44 +0000 (10:01 +0200)
committerHannu Nyman <hannu.nyman@iki.fi>
Sat, 14 Jan 2023 08:01:44 +0000 (10:01 +0200)
commit68e23b284ef64960f06c56e37f9a8a51ca482328
treea5fe2efc5d7747ee6b843fb55784db1cfe051bed
parente29915dc6b41081fffd4707823b1670d9bbe5b40
luci-app-dockerman:  Update to play nice with recent changes

https://github.com/openwrt/luci/commit/180d39dcd2427e3c32c0ec7ecc3c7bfb48c0d0ab broke dockerman's appearance in the menus

Make a small change to dockerman's index entry to make it play nice with the new architecture, firstchild() was obtained using DAWN's controller/dawn.lua as an example

Signed-off-by: Andrew Dodd <atd7@cornell.edu>
(cherry picked from commit 0c1fc7f64566bd5da643eadc6b817bb0f5f591e7)
Fixes #6168
applications/luci-app-dockerman/luasrc/controller/dockerman.lua