remove parameter

This commit is contained in:
Niels Lyngsø
2024-08-05 09:55:54 +02:00
parent 61cbd35b41
commit be4654ca7a

View File

@@ -46,7 +46,7 @@ export class UmbContentTypeStructureManager<
(x) => x.find((y) => y.unique === this.#ownerContentTypeUnique)?.compositions,
);
readonly #contentTypeContainers = this.#contentTypes.asObservablePart((x) => {
readonly #contentTypeContainers = this.#contentTypes.asObservablePart(() => {
return this.#contentTypes.getValue().flatMap((x) => x.containers ?? []);
});
readonly contentTypeUniques = this.#contentTypes.asObservablePart((x) => x.map((y) => y.unique));