mirror of
https://github.com/openwrt/luci
synced 2025-01-07 03:27:12 +08:00
luci-base: follow-up fix for ES6 changes
follow-up for c2fc96cc4c
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
This commit is contained in:
parent
b174d53e66
commit
8a422af6a0
@ -530,7 +530,7 @@ return baseclass.extend(/** @lends LuCI.uci.prototype */ {
|
||||
return null;
|
||||
|
||||
/* check whether option was changed */
|
||||
if (c[conf]?.[sid][opt] != null)
|
||||
if (c[conf]?.[sid]?.[opt] != null)
|
||||
return c[conf][sid][opt];
|
||||
|
||||
/* return base value */
|
||||
|
Loading…
Reference in New Issue
Block a user