From 06ac101e5ae806d99f6c385a80e5c8c68727244a Mon Sep 17 00:00:00 2001 From: CyberMind-FR Date: Mon, 29 Dec 2025 19:39:32 +0100 Subject: [PATCH] Fix MQTT bridge controller path entries --- .../luasrc/controller/secubox/mqtt-bridge.lua | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/luci-app-mqtt-bridge/luasrc/controller/secubox/mqtt-bridge.lua b/luci-app-mqtt-bridge/luasrc/controller/secubox/mqtt-bridge.lua index 138122b2..9e2701ab 100644 --- a/luci-app-mqtt-bridge/luasrc/controller/secubox/mqtt-bridge.lua +++ b/luci-app-mqtt-bridge/luasrc/controller/secubox/mqtt-bridge.lua @@ -7,9 +7,8 @@ function index() return end - local root = {"admin", "secubox", "network", "mqtt-bridge"} - entry(root, firstchild(), _("MQTT Bridge"), 10).dependent = true - entry(root + {"overview"}, view("mqtt-bridge/overview"), _("Overview"), 10).leaf = true - entry(root + {"devices"}, view("mqtt-bridge/devices"), _("Devices"), 20).leaf = true - entry(root + {"settings"}, view("mqtt-bridge/settings"), _("Settings"), 90).leaf = true + entry({"admin", "secubox", "network", "mqtt-bridge"}, firstchild(), _("MQTT Bridge"), 10).dependent = true + entry({"admin", "secubox", "network", "mqtt-bridge", "overview"}, view("mqtt-bridge/overview"), _("Overview"), 10).leaf = true + entry({"admin", "secubox", "network", "mqtt-bridge", "devices"}, view("mqtt-bridge/devices"), _("Devices"), 20).leaf = true + entry({"admin", "secubox", "network", "mqtt-bridge", "settings"}, view("mqtt-bridge/settings"), _("Settings"), 90).leaf = true end