From ccee7f3bc8bb44150139a0dccf3c4c4f4af1e3bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Lyngs=C3=B8?= Date: Mon, 7 Oct 2024 13:27:59 +0200 Subject: [PATCH] comments for language observable --- .../documents/workspace/document-workspace.context.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Umbraco.Web.UI.Client/src/packages/documents/documents/workspace/document-workspace.context.ts b/src/Umbraco.Web.UI.Client/src/packages/documents/documents/workspace/document-workspace.context.ts index a082d780ae..e6590a0620 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/documents/documents/workspace/document-workspace.context.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/documents/documents/workspace/document-workspace.context.ts @@ -101,6 +101,10 @@ export class UmbDocumentWorkspaceContext // TODo: Optimize this so it uses either a App Language Context? [NL] #languageRepository = new UmbLanguageCollectionRepository(this); #languages = new UmbArrayState([], (x) => x.unique); + /** + * @private + * @description - Should not be used by external code. + */ public readonly languages = this.#languages.asObservable(); #serverValidation = new UmbServerModelValidatorContext(this);