Allow searching databases by name (#7)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing

This commit is contained in:
Garrett Mills 2020-10-13 10:24:28 -05:00
parent 468f210d59
commit 35eb824b45
Signed by: garrettmills
GPG Key ID: D2BF5FBA8298F246

View File

@ -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();
}
}