We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ff3c273 + 4816fb6 commit c023f07Copy full SHA for c023f07
apps/ledger/src/schema/schema.service.ts
@@ -649,7 +649,7 @@ export class SchemaService extends BaseService {
649
const response = await this.schemaRepository.getAllSchemaDetails(schemaSearchCriteria);
650
const schemasDetails = response?.schemasResult.map((schemaAttributeItem) => {
651
const attributes = JSON.parse(schemaAttributeItem.attributes);
652
- return { ...schemaAttributeItem, attributes, organizationName: schemaAttributeItem.organisation.name };
+ return { ...schemaAttributeItem, attributes, organizationName: schemaAttributeItem.organisation?.name || '' };
653
});
654
655
const schemasResponse = {
0 commit comments