@fluxhub/fluxhub-lib 10.0.469 → 10.0.470
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/fluxhub-fluxhub-lib.umd.js +9 -1
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/services/utility.service.js +10 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +9 -1
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/package.json +1 -1
|
@@ -1160,8 +1160,16 @@
|
|
|
1160
1160
|
if (old_doc === void 0) { old_doc = null; }
|
|
1161
1161
|
if (new_doc === void 0) { new_doc = null; }
|
|
1162
1162
|
var diff = null;
|
|
1163
|
-
if (old_doc != null && new_doc != null)
|
|
1163
|
+
if (old_doc != null && new_doc != null) {
|
|
1164
|
+
for (var key in new_doc) {
|
|
1165
|
+
if (new_doc.hasOwnProperty(key)) {
|
|
1166
|
+
if (new_doc[key] instanceof Date) {
|
|
1167
|
+
old_doc[key] = new Date(old_doc[key]);
|
|
1168
|
+
}
|
|
1169
|
+
}
|
|
1170
|
+
}
|
|
1164
1171
|
diff = this.get_diff_doc(old_doc, new_doc);
|
|
1172
|
+
}
|
|
1165
1173
|
var p = new QParam();
|
|
1166
1174
|
console.log('diff ', diff);
|
|
1167
1175
|
if (diff != null || link != null) {
|