Update tree-item-context-base.ts

This commit is contained in:
Niels Lyngsø
2024-03-01 14:34:45 +01:00
committed by GitHub
parent c1a1c375ea
commit 7e49f679fc

View File

@@ -85,6 +85,7 @@ export abstract class UmbTreeItemContextBase<TreeItemType extends UmbTreeItemMod
* @param {ManifestCollection} manifest
* @memberof UmbCollectionContext
*/
// TODO: Revisit if this instead should be a getter/setter property because it might be set by extension initializer
public setManifest(manifest: ManifestTreeItem | undefined) {
if (this.#manifest === manifest) return;
this.#manifest = manifest;