From 1cb22fd988bc09cfa678965c7ac396923b38b8b4 Mon Sep 17 00:00:00 2001 From: Matias Date: Wed, 3 Jul 2019 20:16:04 -0300 Subject: [PATCH] Skipping clone id config on nulls --- Panels/ProductsPanel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Panels/ProductsPanel.js b/Panels/ProductsPanel.js index 8ba4c18da..01cf93ce4 100644 --- a/Panels/ProductsPanel.js +++ b/Panels/ProductsPanel.js @@ -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++) {