fix sub update
This commit is contained in:
parent
a96ea18f7a
commit
eb982c8b65
@ -14,7 +14,7 @@ module.exports = {
|
|||||||
status = 0
|
status = 0
|
||||||
}
|
}
|
||||||
subs.forEach(function (element, index) {
|
subs.forEach(function (element, index) {
|
||||||
if (element.SUB.toLowerCase() === sub) {
|
if (element.SUB.toLowerCase() === sub.toLowerCase()) {
|
||||||
subs[index].STATUS = status; //set the value
|
subs[index].STATUS = status; //set the value
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user