Fix TypeError when WidgetRenderer is instantiated with undefined options
parameter by adding defensive check at start of __init__ method.
Error:
TypeError: can't access property "containerId", options is undefined
Fix:
options = options || {};
This ensures the constructor works even if called without parameters,
preventing the TypeError when accessing options.containerId.
Incremented PKG_RELEASE: 3 → 4
19 lines
524 B
Makefile
19 lines
524 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=luci-app-secubox-admin
|
|
PKG_VERSION:=1.0.0
|
|
PKG_RELEASE:=4
|
|
PKG_LICENSE:=MIT
|
|
PKG_MAINTAINER:=CyberMind <contact@cybermind.fr>
|
|
|
|
LUCI_TITLE:=LuCI SecuBox Admin Control Center
|
|
LUCI_DEPENDS:=+luci-base +luci-app-secubox +rpcd +secubox-core
|
|
LUCI_DESCRIPTION:=Unified admin control center for SecuBox appstore plugins with system monitoring
|
|
LUCI_PKGARCH:=all
|
|
|
|
# This is free software, licensed under the MIT License
|
|
|
|
include $(TOPDIR)/feeds/luci/luci.mk
|
|
|
|
# call BuildPackage - OpenWrt buildroot
|