Skip to content

Commit

Permalink
fix(advanced-search): undefined error leads to blank page (#1264)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdelez committed Nov 15, 2023
1 parent 5023b2a commit a176ce0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/dsp-app/src/app/workspace/results/results.component.ts
Expand Up @@ -82,6 +82,10 @@ export class ResultsComponent {
private _handleParentParams(parentParams: Params) {
const uuid = parentParams.get('uuid');
if (uuid) {
this.searchParams = {
query: '',
mode: 'gravsearch'
};
this.searchParams.projectUuid = uuid;
}
}
Expand Down

0 comments on commit a176ce0

Please sign in to comment.