back solo si todo correcto

This commit is contained in:
nelo 2017-01-30 08:47:56 +01:00
parent afe2d1ea79
commit e4839346f6
1 changed files with 1 additions and 3 deletions

View File

@ -19,12 +19,10 @@ export const COMPONENT = {
var newAddress = modified(this.address, this.addressOld);
$http.put(`/client/api/Addresses/${this.addressOld.id}`, newAddress).then(
json => {
this.address = json.data;
this.copyAddress();
$window.history.back();
}
);
}
$window.history.back();
};
this.copyAddress = () => {