allow updating partial entry

This commit is contained in:
Mads Rasmussen
2023-12-07 11:44:19 +01:00
parent 4e948565ac
commit 6af8cfc3be

View File

@@ -155,7 +155,7 @@ export class UmbContentTypePropertyStructureManager<R extends UmbDetailRepositor
return this.#contentTypes.getValue().find((y) => y.id === this.#ownerContentTypeId);
}
updateOwnerContentType(entry: T) {
updateOwnerContentType(entry: Partial<T>) {
this.#contentTypes.updateOne(this.#ownerContentTypeId, entry);
}