Remove some debug.

This commit is contained in:
James Cole
2020-03-13 18:18:07 +01:00
parent b726e7d106
commit be41049e72
5 changed files with 17 additions and 8 deletions

View File

@@ -117,7 +117,7 @@
);
},
changeData: function () {
//console.log('ForeignAmountSelect changeData');
// console.log('ForeignAmountSelect changeData');
this.enabledCurrencies = [];
let destType = this.destination.type ? this.destination.type.toLowerCase() : 'invalid';
let srcType = this.source.type ? this.source.type.toLowerCase() : 'invalid';
@@ -184,6 +184,14 @@
enabled: true
}
];
this.enabledCurrencies = [
{
name: this.no_currency,
id: 0,
enabled: true
}
];
for (const key in res.data) {
if (res.data.hasOwnProperty(key) && /^0$|^[1-9]\d*$/.test(key) && key <= 4294967294) {
if (res.data[key].enabled) {
@@ -192,6 +200,7 @@
}
}
}
// console.log(this.enabledCurrencies);
});
}
}