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