diff --git a/frontend/src/app/word-models/word-models.component.ts b/frontend/src/app/word-models/word-models.component.ts index da8fd64c9..5563dcbd8 100644 --- a/frontend/src/app/word-models/word-models.component.ts +++ b/frontend/src/app/word-models/word-models.component.ts @@ -72,7 +72,7 @@ export class WordModelsComponent extends ParamDirective implements DoCheck { teardown() {} setStateFromParams(params: Params) { - this.queryText = _.get(params, 'query', undefined); + this.queryText = params.get('query'); if (this.queryText) { this.activeQuery = this.queryText; this.validateQuery();