tyding
This commit is contained in:
1 parent
d181588111
commit
9775609471
1 file changed
+2
-5
@@ -317,16 +317,13 @@ function newProductsPanel () {
|
||||
try {
|
||||
layerCode = JSON.parse(layer.code)
|
||||
} catch (err) {
|
||||
// if we can not parse this, then we ignore this trading engine.
|
||||
// if we can not parse this, then we ignore this trading engine.
|
||||
}
|
||||
|
||||
if (product.codeName === layerCode.product) {
|
||||
/* We have a layer that is matching the current product */
|
||||
|
||||
/* We have a layer that is matching the current product */
|
||||
let cardCode = exchange + '-' + market.assetB + '/' + market.assetA + '-' + devTeam.codeName + '-' + bot.codeName + '-' + product.codeName + '-' + process.session.id
|
||||
|
||||
let cardFound = removeFromLocalProductCards(cardCode)
|
||||
|
||||
if (cardFound !== true) {
|
||||
addProductCard(devTeam, bot, product, process.session)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user