Merge pull request #82 from AAVikings/master

Skipping clone id config on nulls and turn off onload
This commit is contained in:
benme authored and GitHub committed 2019-07-03 20:17:18 -03:00
commit f942d7d0ae
2 files changed
+4 -1

No files matched your search

+3
View File
@@ -356,6 +356,9 @@ function newProductCard () {
case PRODUCT_CARD_STATUS.OFF:
changeStatusTo(PRODUCT_CARD_STATUS.LOADING)
break
case PRODUCT_CARD_STATUS.LOADING:
changeStatusTo(PRODUCT_CARD_STATUS.OFF)
break
}
}
+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++) {