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