mirror of
https://github.com/simon987/task_tracker.git
synced 2025-04-04 07:52:59 +00:00
revert testing code
This commit is contained in:
parent
62f9ca4d4b
commit
cb757845cc
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user