Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (this.qntDeLogs > 0) {
- for (var v in val) {
- this.providerAPI.insertPiqueteLog(val[v].heightLevel)
- .then(data => {
- console.log(data);
- });;
- val.splice(v, 1);
- array.splice(v, 1)
- this.qntDeLogs = this.qntDeLogs - 1
- this.navCtrl.setRoot(this.navCtrl.getActive().component);
- }
- this.storage.set('piquetesLog', array)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement