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
Ensure we don't show the empty warning when no value was requested
Oliver Günther740bfb755960
diff --git a/frontend/src/app/modules/boards/board/add-list-modal/add-list-modal.component.ts b/frontend/src/app/modules/boards/board/add-list-modal/add-list-modal.component.tsindex 6abbb5f0cb5..da22267bca2 100644--- a/frontend/src/app/modules/boards/board/add-list-modal/add-list-modal.component.ts+++ b/frontend/src/app/modules/boards/board/add-list-modal/add-list-modal.component.ts@@ -142,11 +142,7 @@ export class AddListModalComponent extends OpModalComponent implements OnInit {).subscribe((values:unknown[]) => {this.availableValues = values;-- if (values.length === 0) {- this.showWarning = true;- }-+ this.showWarning = this.requests.lastRequestedValue !== undefined && (values.length === 0);this.cdRef.detectChanges();});