Skip to content

Commit

Permalink
feat: Updated src/app/features/user-area/user-modu
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] authored Dec 1, 2023
1 parent 5014e3b commit 3f74784
Showing 1 changed file with 17 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,23 @@
<mat-divider inset="true"></mat-divider>
</ng-container>

<lib-auto-update-loading-indicator [data$]="dataService.modulesData$"
<mat-form-field appearance="fill">
<mat-label>Sort by</mat-label>
<mat-select (selectionChange)="onSortChange($event.value)">
<mat-option value="name">Name</mat-option>
<mat-option value="type">Type</mat-option>
<mat-option value="manufacturer">Manufacturer</mat-option>
</mat-select>
</mat-form-field>
<mat-form-field appearance="fill">
<mat-label>Group by</mat-label>
<mat-select (selectionChange)="onGroupChange($event.value)">
<mat-option value="none">None</mat-option>
<mat-option value="type">Type</mat-option>
<mat-option value="manufacturer">Manufacturer</mat-option>
</mat-select>
</mat-form-field>
<lib-auto-update-loading-indicator [data$]="dataService.modulesData$"
[updateData$]="dataService.updateModulesData$"
>
<ng-container *ngIf="(dataService.modulesData$|async) as data">
Expand Down

0 comments on commit 3f74784

Please sign in to comment.