Skip to content
Snippets Groups Projects
Commit 84fcae1d authored by Isaac Evavold's avatar Isaac Evavold Committed by Isaac Evavold
Browse files

ROENROLL-1762 fix unset term in course details modal

parent 4d8e861d
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@
<div class="term-selection" *ngIf="type === 'search' || type === 'saved'" fxLayout="row" fxFlex="100">
<form [formGroup]="termSelector" (ngSubmit)="addCourseToPlan($event)" style="width:100%;display:flex">
<mat-form-field style="margin-right:20px;">
<mat-select placeholder="Term" aria-label="Term" matInput role="listbox" formControlName="term" cdkFocusInitial>
<mat-select [compareWith]="sameTermCodes" placeholder="Term" aria-label="Term" matInput role="listbox" formControlName="term" cdkFocusInitial>
<mat-option role="option" *ngFor="let term of (droppableTermCodes$ | async)" [value]="term" >
{{ term | getTermDescription }}
</mat-option>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment