Merge branch 'dev' of http://git.verdnatura.es/salix into dev
This commit is contained in:
commit
e690a72dfe
|
@ -149,6 +149,8 @@ export default class Watcher extends Component {
|
||||||
|
|
||||||
updateOriginalData() {
|
updateOriginalData() {
|
||||||
this.orgData = this.copyInNewObject(this.data);
|
this.orgData = this.copyInNewObject(this.data);
|
||||||
|
if (this.form && this.form.$dirty)
|
||||||
|
this.form.$setPristine();
|
||||||
}
|
}
|
||||||
|
|
||||||
copyInNewObject(data) {
|
copyInNewObject(data) {
|
||||||
|
|
Loading…
Reference in New Issue