Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

no error message when bcf api is not active

ulferts0532ae655ea3
diff --git a/frontend/src/app/modules/bim/bcf/bcf-wp-attribute-group/bcf-wp-attribute-group.component.ts b/frontend/src/app/modules/bim/bcf/bcf-wp-attribute-group/bcf-wp-attribute-group.component.ts
index 6ca35a75984..639e4f8b43f 100644
--- a/frontend/src/app/modules/bim/bcf/bcf-wp-attribute-group/bcf-wp-attribute-group.component.ts
+++ b/frontend/src/app/modules/bim/bcf/bcf-wp-attribute-group/bcf-wp-attribute-group.component.ts
@@ -232,6 +232,9 @@ export class BcfWpAttributeGroupComponent extends UntilDestroyedMixin implements
.then(resource => {
this.createAllowed = resource.topic_actions && resource.topic_actions.includes('createViewpoint');
this.cdRef.detectChanges();
+ })
+ .catch(() => {
+ this.createAllowed = false;
});
}