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

This commit is contained in:
Carlos Jimenez 2018-02-21 12:37:02 +01:00
commit 0288e07638
1 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,3 @@
import ngModule from '../module';
import isEqual from './equals'; import isEqual from './equals';
export default function getModifiedData(object, objectOld) { export default function getModifiedData(object, objectOld) {
@ -19,5 +18,5 @@ export default function getModifiedData(object, objectOld) {
} }
} }
return newObject; return Object.keys(newObject).length ? newObject : undefined;
} }