fix Not all code paths return a value
This commit is contained in:
@@ -160,11 +160,7 @@ export class UmbDocumentWorkspaceContext
|
||||
return this.#documentTypes.getObservablePart((docTypes) => {
|
||||
return (
|
||||
docTypes.find((docType) => {
|
||||
return docType.properties?.find((property) => {
|
||||
if (property.containerKey === containerKey) {
|
||||
return true;
|
||||
}
|
||||
});
|
||||
return docType.properties?.find((property) => property.containerKey === containerKey);
|
||||
}) !== undefined
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user