Allow searching databases by name (#7)
This commit is contained in:
parent
468f210d59
commit
35eb824b45
@ -72,6 +72,9 @@ export class SearchComponent implements OnInit {
|
|||||||
} else if ( result.type === 'code' ) {
|
} else if ( result.type === 'code' ) {
|
||||||
await this.router.navigate(['/editor', { id: result.associated.id, node_id: result.id }]);
|
await this.router.navigate(['/editor', { id: result.associated.id, node_id: result.id }]);
|
||||||
await this.dismiss();
|
await this.dismiss();
|
||||||
|
} else if ( result.type === 'db' ) {
|
||||||
|
await this.router.navigate(['/editor', { id: result.associated.id, node_id: result.id }]);
|
||||||
|
await this.dismiss();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user