GitLab steht aufgrund wichtiger Wartungsarbeiten am Montag, den 8. März, zwischen 17:00 und 19:00 Uhr nicht zur Verfügung.

Fixes joining by quiz name input in the home component

parent 2ce0dd56
......@@ -24,7 +24,7 @@
</span>
<input #enteredSessionNameInput
(focus)="showQuiznameDatalist()"
(ngModelChange)="parseQuiznameInput()"
(ngModelChange)="parseQuiznameInput(enteredSessionNameInput.value)"
[(ngModel)]="enteredSessionName"
[class.rounded-top]="showJoinableQuizzes && isShowingQuiznameDatalist"
[class.rounded]="!showJoinableQuizzes || !isShowingQuiznameDatalist"
......
......@@ -215,9 +215,9 @@ export class HomeComponent implements OnInit, OnDestroy {
this.selectQuizByName(this.enteredSessionName.trim());
}
public parseQuiznameInput(): void {
public parseQuiznameInput(quizname: string): void {
this.isQueryingQuizState = true;
this.selectQuizByName(this.enteredSessionName.trim());
this.selectQuizByName(quizname.trim());
}
public setPassword(event: Event): void {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment