revert testing code

This commit is contained in:
simon987 2020-07-05 11:05:32 -04:00
parent 62f9ca4d4b
commit cb757845cc

View File

@ -1,13 +1,14 @@
<mat-form-field appearance="outline" style="margin-top: 1em">
<mat-label>{{"console.worker_select" | translate}}</mat-label>
<mat-label>{{"project.manager_select" | translate}}</mat-label>
<mat-select [(ngModel)]="manager" (selectionChange)="managerChange.emit($event.value)"
[placeholder]="'project.manager_select' | translate"
[placeholder]="'perms.manager_select' | translate"
(opened)="loadManagerList()">
<mat-select-trigger></mat-select-trigger>
<mat-option disabled *ngIf="workerList === undefined">
{{"worker_select.loading" | translate}}
<mat-option disabled *ngIf="managerList === undefined">
{{"project_select.loading" | translate}}
</mat-option>
<mat-option *ngFor="let m of workerList" [value]="m">
<mat-option *ngFor="let m of managerList" [value]="m">
<mat-icon *ngIf="m.tracker_admin">supervisor_account</mat-icon>
<mat-icon *ngIf="!m.tracker_admin">person</mat-icon>
{{m.username}}
</mat-option>