Merge branch 'dev' of http://git.verdnatura.es/salix into dev

This commit is contained in:
Carlos Jimenez 2018-02-06 10:55:49 +01:00
commit e690a72dfe
1 changed files with 2 additions and 0 deletions

View File

@ -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) {