correct name

This commit is contained in:
Niels Lyngsø
2024-08-06 11:28:32 +02:00
parent 813b9e9d46
commit 342d87a653

View File

@@ -19,8 +19,8 @@ export class UmbBackofficeContext extends UmbContextBase<UmbBackofficeContext> {
#allowedSections = new UmbBasicState<Array<UmbExtensionManifestInitializer<ManifestSection>>>([]);
public readonly allowedSections = this.#allowedSections.asObservable();
#verison = new UmbStringState(undefined);
public readonly version = this.#verison.asObservable();
#version = new UmbStringState(undefined);
public readonly version = this.#version.asObservable();
constructor(host: UmbControllerHost) {
super(host, UMB_BACKOFFICE_CONTEXT);
@@ -70,7 +70,7 @@ export class UmbBackofficeContext extends UmbContextBase<UmbBackofficeContext> {
) ?? [];
const version = [major, minor, patch].join('.') + (prerelease ? `-${prerelease}` : '');
this.#verison.setValue(version);
this.#version.setValue(version);
}
public setActiveSectionAlias(alias: string) {