Commit 54b8d43d authored by Konstantin Schulz's avatar Konstantin Schulz
Browse files

fix for exercise query parameters in the corpus service

parent 3f9b31bb
{
"name": "mc_frontend",
"version": "1.1.3",
"version": "1.1.4",
"author": "Ionic Framework",
"homepage": "https://ionicframework.com/",
"scripts": {
......
......@@ -410,7 +410,7 @@ export class CorpusService {
}
updateBaseWord(query: QueryMC, queryIndex: number) {
if (!this.annisResponse || !this.annisResponse.frequency_analysis.length) {
if (!this.annisResponse || !this.annisResponse.frequency_analysis || !this.annisResponse.frequency_analysis.length) {
return;
}
if (!queryIndex && this.exercise.type === ExerciseType.matching) {
......
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