use one multi-select drop down for plot type

All plot types we currently have can be combined
in one image. So there is no need to compute
combinable types.
This commit is contained in:
2019-11-24 10:53:30 +01:00
parent 06b379494f
commit 20b710547f
2 changed files with 6 additions and 34 deletions

View File

@@ -17,23 +17,13 @@
<mat-form-field>
<mat-label>Type:</mat-label>
<mat-select [formControl]="selectedPlotType">
<mat-select multiple [(value)]="selectedPlotType">
<mat-option *ngFor="let plotType of plotTypes" [value]="plotType">
<img src="assets/img/{{plotType.icon}}.svg" class="icon-select" /> {{plotType.name}}
</mat-option>
</mat-select>
</mat-form-field>
<mat-form-field>
<mat-label>Combine With Type:</mat-label>
<mat-select [formControl]="selectedCombinePlotType">
<mat-option>-</mat-option>
<mat-option *ngFor="let plotType of combinePlotTypes" [value]="plotType">
<img src="assets/img/{{plotType.icon}}.svg" class="icon-select" /> {{plotType.name}}
</mat-option>
</mat-select>
</mat-form-field>
<mat-form-field>
<mat-label>Group By:</mat-label>
<mat-select multiple [(value)]="groupBy">