RED-3687 - removed on detach

This commit is contained in:
Valentin Mihai 2022-07-15 15:27:05 +03:00
parent 3408655c82
commit 72cf70efbd

View File

@ -14,8 +14,4 @@ export class ContextComponent<C> implements OnDetach {
protected _mapKeysToObs<T>(keys: string[], observables: Observable<any>[]): T {
return keys.reduce((acc, key, index) => ({ ...acc, [key]: observables[index] }), {} as T);
}
ngOnDetach() {
this.componentContext$ = null;
}
}