comment for the future

This commit is contained in:
Niels Lyngsø
2023-04-21 12:22:10 +02:00
parent aa1a1b0219
commit 68e5b05c14

View File

@@ -324,7 +324,7 @@ export class UmbWorkspacePropertyStructureManager<R extends UmbDocumentTypeRepos
});
}
// TODO: Maybe this must take parentId into account as well?
// In future this might need to take parentName(parentId lookup) into account as well? otherwise containers that share same name and type will always be merged, but their position might be different and they should nto be merged.
containersByNameAndType(name: string, containerType: PropertyContainerTypes) {
return this.#containers.getObservablePart((data) => {
return data.filter((x) => x.name === name && x.type === containerType);