Merge pull request #82 from AAVikings/master
Skipping clone id config on nulls and turn off onload
This commit is contained in:
2 files changed
+4
-1
No files matched your search
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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