Basket for survey: fix projects
This commit is contained in:
parent
909e250fe9
commit
e38d84f37a
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
<mat-label>Project</mat-label>
|
<mat-label>Project</mat-label>
|
||||||
<mat-select formControlName="project">
|
<mat-select formControlName="project">
|
||||||
<mat-option
|
<mat-option
|
||||||
*ngFor="let item of basket.projects || adminDataService.surveyMeta.projects"
|
*ngFor="let item of basket.projects.length == 0 ? adminDataService.surveyMeta.projects : basket.projects"
|
||||||
[value]="item.name">
|
[value]="item.name">
|
||||||
{{ item.name }}
|
{{ item.name }}
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue