diff --git a/Layouts/tabs layout/index.html b/Layouts/tabs layout/index.html index ff62f89..d131243 100644 --- a/Layouts/tabs layout/index.html +++ b/Layouts/tabs layout/index.html @@ -144,246 +144,251 @@ + + + +
+ TEST_MODE + (use console) + + - - - /*obj is original object or array, diff is the output of findDiff */ - window.mergeDiff = (obj, diff) => { - if (Object.keys(diff.updated).length !== 0) - obj = mergeRecursive(obj, diff.updated) - if (Object.keys(diff.deleted).length !== 0) { - obj = mergeRecursive(obj, diff.deleted) - obj = cleanse(obj) - } - if (Object.keys(diff.added).length !== 0) - obj = mergeRecursive(obj, diff.added) - return obj - } - })(); - + - + - + - + - + - + this.getNextGeneralData[fk] = Object.keys(filteredResult).sort().pop(); + return filteredResult; + }, -