gluon-web-model: fix deplist() argument list
Fixes dependency tracking for individual <option> elements (currently unused).
This commit is contained in:
parent
50adb097fa
commit
3951607e53
@ -145,7 +145,7 @@ function AbstractValue:depends(field, value)
|
|||||||
table.insert(self.deps, deps)
|
table.insert(self.deps, deps)
|
||||||
end
|
end
|
||||||
|
|
||||||
function AbstractValue:deplist(_, deplist)
|
function AbstractValue:deplist(deplist)
|
||||||
local deps = {}
|
local deps = {}
|
||||||
|
|
||||||
for _, d in ipairs(deplist or self.deps) do
|
for _, d in ipairs(deplist or self.deps) do
|
||||||
|
Loading…
Reference in New Issue
Block a user