From 342d87a653e54974fdcd9f2f6c9d247d15064a2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Lyngs=C3=B8?= Date: Tue, 6 Aug 2024 11:28:32 +0200 Subject: [PATCH] correct name --- .../src/apps/backoffice/backoffice.context.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/apps/backoffice/backoffice.context.ts b/src/Umbraco.Web.UI.Client/src/apps/backoffice/backoffice.context.ts index adcdeeda39..1ae88c7721 100644 --- a/src/Umbraco.Web.UI.Client/src/apps/backoffice/backoffice.context.ts +++ b/src/Umbraco.Web.UI.Client/src/apps/backoffice/backoffice.context.ts @@ -19,8 +19,8 @@ export class UmbBackofficeContext extends UmbContextBase { #allowedSections = new UmbBasicState>>([]); 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 { ) ?? []; const version = [major, minor, patch].join('.') + (prerelease ? `-${prerelease}` : ''); - this.#verison.setValue(version); + this.#version.setValue(version); } public setActiveSectionAlias(alias: string) {