diff --git a/src/app/components/search/Search.component.ts b/src/app/components/search/Search.component.ts index 30348a3..8999fa4 100644 --- a/src/app/components/search/Search.component.ts +++ b/src/app/components/search/Search.component.ts @@ -71,6 +71,9 @@ export class SearchComponent implements OnInit { } else if ( result.type === 'db' ) { await this.router.navigate(['/editor', { id: result.associated.id, node_id: result.id }]); await this.dismiss(); + } else if ( result.type === 'files' ) { + await this.router.navigate(['/editor', { id: result.associated.id, node_id: result.id }]); + await this.dismiss(); } }