Commit 008b6321 authored by Kristian Ntavidi's avatar Kristian Ntavidi
Browse files

Error dialog component on dataset wizard (update)

* On single error case, show it indepentently (not as list item)
parent a212f4e5
......@@ -5,9 +5,14 @@
</div>
<div class="row content">
<div class="col p-0">
<ul class="error-list">
<li *ngFor="let error of errorMessages">{{error}}</li>
</ul>
<ng-container *ngIf="errorMessages">
<ul class="error-list" *ngIf="errorMessages.length > 1 else singleError">
<li *ngFor="let error of errorMessages">{{error}}</li>
</ul>
</ng-container>
<ng-template #singleError>
<span>{{errorMessages[0]}}</span>
</ng-template>
</div>
</div>
<div class="row">
......
Markdown is supported
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