Merge branch 'dev' of http://git.verdnatura.es/salix into dev
This commit is contained in:
commit
0288e07638
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue