diff --git a/src/Umbraco.Web.UI.Client/src/packages/core/tree/tree-item-base/tree-item-base.context.ts b/src/Umbraco.Web.UI.Client/src/packages/core/tree/tree-item-base/tree-item-base.context.ts index 5bb3b483e1..4017019394 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/core/tree/tree-item-base/tree-item-base.context.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/core/tree/tree-item-base/tree-item-base.context.ts @@ -104,12 +104,12 @@ export class UmbTreeItemContextBase } public select() { - if (this.unique === undefined) throw new Error('Could not select, unique key is missing'); + if (this.unique === undefined) throw new Error('Could not select. Unique is missing'); this.treeContext?.selection.select(this.unique); } public deselect() { - if (this.unique === undefined) throw new Error('Could not deselect, unique key is missing'); + if (this.unique === undefined) throw new Error('Could not deselect. Unique is missing'); this.treeContext?.selection.deselect(this.unique); }