diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/components/section/section.context.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/components/section/section.context.ts index da3b54abdb..7a123bf946 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/components/section/section.context.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/components/section/section.context.ts @@ -1,14 +1,15 @@ +import { BehaviorSubject } from 'rxjs'; import type { Entity, ManifestSection, ManifestSectionView, ManifestTree } from '@umbraco-cms/models'; import { UniqueBehaviorSubject } from 'src/core/observable-api/unique-behavior-subject'; export class UmbSectionContext { - - + + #manifest; public readonly manifest; // TODO: what is the best context to put this in? - private _activeTree = new UniqueBehaviorSubject(undefined); + private _activeTree = new BehaviorSubject(undefined); public readonly activeTree = this._activeTree.asObservable(); // TODO: what is the best context to put this in?