Skipping clone id config on nulls

This commit is contained in:
Matias committed 2019-07-03 20:16:04 -03:00
1 parent 0682d7ace7
commit 1cb22fd988
1 file changed
+1 -1
+1 -1
View File
@@ -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++) {