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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Do not open the modal before the schema is loaded
Henriette Dingerdd2d200cc96f
diff --git a/frontend/src/app/modules/grids/grid/add-widget.service.ts b/frontend/src/app/modules/grids/grid/add-widget.service.tsindex 5b5774d228c..c499d601e21 100644--- a/frontend/src/app/modules/grids/grid/add-widget.service.ts+++ b/frontend/src/app/modules/grids/grid/add-widget.service.ts@@ -60,6 +60,11 @@ export class GridAddWidgetService {private select(area:GridArea) {return new Promise<GridWidgetResource>((resolve, reject) => {+ if (!this.layout.schema) {+ reject();+ return;+ }+const modal = this.opModalService.show(AddGridWidgetModal, this.injector, { schema: this.layout.schema });modal.closingEvent.subscribe((modal:AddGridWidgetModal) => {let registered = modal.chosenWidget;