Commit 73b3d7a8 authored by Alexander Philipp Nowosad's avatar Alexander Philipp Nowosad
Browse files

Add display warnings in bm process diagram

parent 7789c4e5
......@@ -159,5 +159,13 @@
<h6 class="border-bottom border-gray pb-2">Controls</h6>
<button class="btn btn-primary" (click)="saveDiagram()">Save Diagram</button>
</div>
<div class="my-3 p-3 bg-white rounded shadow-sm">
<h6 class="border-bottom border-gray pb-2">Warnings</h6>
<div *ngIf="warnings.length === 0" class="alert alert-success mb-0">There are no warnings</div>
<ul>
<li *ngFor="let warning of warnings">{{warning}}</li>
</ul>
</div>
</div>
......@@ -28,6 +28,8 @@ export class BmProcessDiagramComponent implements DiagramComponentInterface, OnI
developmentMethodId: [null, Validators.required],
});
warnings: string[] = [];
modalElement;
modalDevelopmentMethod: DevelopmentMethod;
modalProcessPatterns: ProcessPattern[];
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment