fixed bug on load
This commit is contained in:
parent
a010871a7d
commit
409c78ec94
|
@ -75,12 +75,13 @@ class Controller {
|
||||||
}
|
}
|
||||||
|
|
||||||
setClaimDestination(id, claimDestinationFk) {
|
setClaimDestination(id, claimDestinationFk) {
|
||||||
let params = {id: id, claimDestinationFk: claimDestinationFk};
|
if (claimDestinationFk) {
|
||||||
let query = `claim/api/ClaimEnds/`;
|
let params = {id: id, claimDestinationFk: claimDestinationFk};
|
||||||
this.$http.patch(query, params).then(() => {
|
let query = `claim/api/ClaimEnds/`;
|
||||||
this.$.model.refresh();
|
this.$http.patch(query, params).then(() => {
|
||||||
this.vnApp.showSuccess(this.$translate.instant('Data saved!'));
|
this.vnApp.showSuccess(this.$translate.instant('Data saved!'));
|
||||||
});
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
calculateTotals() {
|
calculateTotals() {
|
||||||
|
|
Loading…
Reference in New Issue