test fixed for watcher

This commit is contained in:
Daniel Herrero 2018-01-17 10:42:54 +01:00
parent 260830dc95
commit 78e5dd3109
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ export default class Watcher extends Component {
}
dataChanged() {
if (!this.form.$dirty) return false;
if (this.form && !this.form.$dirty) return false;
let newData = this.copyInNewObject(this.data);
return !isEqual(newData, this.orgData);
}