Skipping clone id config on nulls
This commit is contained in:
1 parent
0682d7ace7
commit
1cb22fd988
1 file changed
+1
-1
@@ -67,7 +67,7 @@ function newProductsPanel () {
|
||||
|
||||
for (let j = 0; j < devTeam.bots.length; j++) {
|
||||
let bot = devTeam.bots[j]
|
||||
if (bot.type !== 'Indicator' && bot.cloneId === undefined) { continue }
|
||||
if (bot.type !== 'Indicator' && (bot.cloneId === undefined || bot.cloneId === null)) { continue }
|
||||
|
||||
if (bot.products !== undefined) {
|
||||
for (let k = 0; k < bot.products.length; k++) {
|
||||
|
||||
Reference in new issue
Block a user