Bug fixed address observations
This commit is contained in:
parent
6eaaa6dde5
commit
94bbbef2d0
|
@ -41,6 +41,9 @@ export default class Controller {
|
||||||
this._setDirtyForm();
|
this._setDirtyForm();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (this.observations.length === 0 && Object.keys(this.observationsOld).length === 0) {
|
||||||
|
this._unsetDirtyForm();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
_submitObservations(objectObservations) {
|
_submitObservations(objectObservations) {
|
||||||
return this.$http.post(`/client/api/AddressObservations/crudAddressObservations`, objectObservations);
|
return this.$http.post(`/client/api/AddressObservations/crudAddressObservations`, objectObservations);
|
||||||
|
|
Loading…
Reference in New Issue