From 4b33ceabeb81fd4db4d8177fb9aa9c4b513bae9b Mon Sep 17 00:00:00 2001 From: Mads Rasmussen Date: Thu, 2 Nov 2023 13:36:14 +0100 Subject: [PATCH] make total items more explicit --- .../src/packages/core/collection/collection.context.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/packages/core/collection/collection.context.ts b/src/Umbraco.Web.UI.Client/src/packages/core/collection/collection.context.ts index e493640236..c0ad47be48 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/core/collection/collection.context.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/core/collection/collection.context.ts @@ -19,8 +19,8 @@ export class UmbCollectionContext([]); public readonly items = this.#items.asObservable(); - #total = new UmbNumberState(0); - public readonly total = this.#total.asObservable(); + #totalItems = new UmbNumberState(0); + public readonly totalItems = this.#totalItems.asObservable(); #totalPages = new UmbNumberState(0); public readonly totalPages = this.#totalPages.asObservable(); @@ -154,7 +154,7 @@ export class UmbCollectionContext