RED-3687 - removed on detach

This commit is contained in:
Valentin Mihai 2022-07-15 15:32:55 +03:00
parent 72cf70efbd
commit 6864edb489

View File

@ -2,7 +2,7 @@ import { combineLatest, Observable, ObservableInputTuple, of, pipe } from 'rxjs'
import { map, startWith } from 'rxjs/operators';
import { OnDetach, ValuesOf } from '@iqser/common-ui';
export class ContextComponent<C> implements OnDetach {
export class ContextComponent<C> {
componentContext$: Observable<C> | null = of({} as C);
protected _initContext<T extends Record<string, ValuesOf<T>>>(context: ObservableInputTuple<T>): void {