@porscheinformatik/clr-addons 13.4.0 → 13.4.1
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/fesm2020/clr-addons.mjs
CHANGED
|
@@ -4006,9 +4006,9 @@ class ClrHistoryService {
|
|
|
4006
4006
|
}
|
|
4007
4007
|
checkEqualContext(entry, toCompare) {
|
|
4008
4008
|
let equal = false;
|
|
4009
|
-
if (entry && toCompare) {
|
|
4009
|
+
if (entry && entry.context && toCompare) {
|
|
4010
4010
|
Object.keys(toCompare).forEach(key => {
|
|
4011
|
-
equal = entry.context[key] === toCompare[key];
|
|
4011
|
+
equal = key in entry.context && entry.context[key] === toCompare[key];
|
|
4012
4012
|
});
|
|
4013
4013
|
}
|
|
4014
4014
|
return equal;
|