@dereekb/dbx-core 9.7.1 → 9.7.4
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.
|
@@ -2967,7 +2967,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImpor
|
|
|
2967
2967
|
* @returns
|
|
2968
2968
|
*/
|
|
2969
2969
|
function tapDetectChanges(cdRef, timeout = 0) {
|
|
2970
|
-
return tap(() => setTimeout(() => safeDetectChanges(cdRef), timeout));
|
|
2970
|
+
return cdRef ? tap(() => setTimeout(() => safeDetectChanges(cdRef), timeout)) : tap();
|
|
2971
2971
|
}
|
|
2972
2972
|
/**
|
|
2973
2973
|
* Triggers a check for detecting any changes on the model safely to ve registered via detectChanges().
|
|
@@ -2987,7 +2987,7 @@ function safeDetectChanges(cdRef) {
|
|
|
2987
2987
|
* @returns
|
|
2988
2988
|
*/
|
|
2989
2989
|
function tapSafeMarkForCheck(cdRef, timeout = 0) {
|
|
2990
|
-
return tap(() => setTimeout(() => safeMarkForCheck(cdRef), timeout));
|
|
2990
|
+
return cdRef ? tap(() => setTimeout(() => safeMarkForCheck(cdRef), timeout)) : tap();
|
|
2991
2991
|
}
|
|
2992
2992
|
/**
|
|
2993
2993
|
* Marks the ChangeDetectorRef for changes as long as the view has not been destroyed.
|