comments for language observable

This commit is contained in:
Niels Lyngsø
2024-10-07 13:27:59 +02:00
parent 2a64195368
commit ccee7f3bc8

View File

@@ -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<UmbLanguageDetailModel>([], (x) => x.unique);
/**
* @private
* @description - Should not be used by external code.
*/
public readonly languages = this.#languages.asObservable();
#serverValidation = new UmbServerModelValidatorContext(this);