Skip to content

Commit

Permalink
Merge pull request #28 from mitwelten/18-node-filter-type-all
Browse files Browse the repository at this point in the history
Add a reset-option for types and platforms in deployment and node filter
  • Loading branch information
cspindler authored Nov 18, 2023
2 parents 9c6d87a + 33f63d1 commit fe809a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/components/deployments/deployment-filter.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,15 @@ import { DeploymentsDataSource } from './deployments-datasource';
<mat-form-field appearance="outline">
<mat-label>Type</mat-label>
<mat-select formControlName="type" panelClass="filter">
<mat-option>All Types</mat-option>
<mat-option *ngFor="let type of dataSource.typeOptions" [value]="type">{{type}}</mat-option>
</mat-select>
</mat-form-field>
<!-- platform (select) -->
<mat-form-field appearance="outline">
<mat-label>Platform</mat-label>
<mat-select formControlName="platform" panelClass="filter">
<mat-option>All Platforms</mat-option>
<mat-option *ngFor="let type of dataSource.platformOptions" [value]="type">{{type}}</mat-option>
</mat-select>
</mat-form-field>
Expand Down
2 changes: 2 additions & 0 deletions src/app/components/nodes/node-filter.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,15 @@ import { NodesDataSource } from './nodes-datasource';
<mat-form-field appearance="outline">
<mat-label>Type</mat-label>
<mat-select formControlName="type" panelClass="filter">
<mat-option>All Types</mat-option>
<mat-option *ngFor="let type of typeOptions" [value]="type">{{type}}</mat-option>
</mat-select>
</mat-form-field>
<!-- platform (select) -->
<mat-form-field appearance="outline">
<mat-label>Platform</mat-label>
<mat-select formControlName="platform" panelClass="filter">
<mat-option>All Platforms</mat-option>
<mat-option *ngFor="let platform of platformOptions" [value]="platform">{{platform}}</mat-option>
</mat-select>
</mat-form-field>
Expand Down

0 comments on commit fe809a2

Please sign in to comment.