Add fetch polyfill and remove debug

This commit is contained in:
Gaëtan Duchaussois 2016-11-23 18:19:06 +01:00
parent 9959291cff
commit a2c0852f33
2 changed files with 2 additions and 2 deletions

View file

@ -1,3 +1,4 @@
import fetch from 'fetch';
import Ember from 'ember';
import config from '../config/environment';
import jQuery from 'jquery';
@ -25,8 +26,6 @@ export default Ember.Component.extend({
headers: headers
}).then((response) => {
if (response.ok) {
console.debug("Requete OK");
//window.location.reload();
this.setChartDataConsign(id, target);
this.set("isSaving", false);
}