From 0c1fc7f64566bd5da643eadc6b817bb0f5f591e7 Mon Sep 17 00:00:00 2001 From: Andrew Dodd Date: Fri, 29 Apr 2022 13:57:46 -0400 Subject: [PATCH] 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 --- applications/luci-app-dockerman/luasrc/controller/dockerman.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/luci-app-dockerman/luasrc/controller/dockerman.lua b/applications/luci-app-dockerman/luasrc/controller/dockerman.lua index 0b8dd5d900..f00f863ca5 100644 --- a/applications/luci-app-dockerman/luasrc/controller/dockerman.lua +++ b/applications/luci-app-dockerman/luasrc/controller/dockerman.lua @@ -9,7 +9,7 @@ module("luci.controller.dockerman",package.seeall) function index() entry({"admin", "docker"}, - alias("admin", "docker", "config"), + firstchild(), _("Docker"), 40).acl_depends = { "luci-app-dockerman" } -- 2.30.2