gdpr audit implemented, email log, vollmachten, pdf delete cancel data privacy and vollmachten, removed message no id card in engergy car, and other contracts that are not telecom contracts, added insert counter for engery
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
export function compareDeep(a: any, b: any) {
|
||||
if (a === b) return true
|
||||
if (!(a && typeof a == "object") ||
|
||||
!(b && typeof b == "object")) return false
|
||||
let array = Array.isArray(a)
|
||||
if (Array.isArray(b) != array) return false
|
||||
if (array) {
|
||||
if (a.length != b.length) return false
|
||||
for (let i = 0; i < a.length; i++) if (!compareDeep(a[i], b[i])) return false
|
||||
} else {
|
||||
for (let p in a) if (!(p in b) || !compareDeep(a[p], b[p])) return false
|
||||
for (let p in b) if (!(p in a)) return false
|
||||
}
|
||||
return true
|
||||
}
|
||||
Reference in New Issue
Block a user