back solo si todo correcto
This commit is contained in:
parent
afe2d1ea79
commit
e4839346f6
|
@ -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 = () => {
|
||||
|
|
Loading…
Reference in New Issue