diff --git a/src/app/shared/search/search.component.ts b/src/app/shared/search/search.component.ts
index a7747b7..b126122 100644
--- a/src/app/shared/search/search.component.ts
+++ b/src/app/shared/search/search.component.ts
@@ -29,6 +29,13 @@ export class SearchComponent implements OnInit {
this.updateOption();
}
+ search(event: KeyboardEvent) {
+ if (event.code === "Enter") {
+ const url = $(".search__action").attr("href");
+ this.router.navigateByUrl(url);
+ }
+ }
+
load_data() {
this.activatedRoute.params.subscribe((params) => {
this.keyword = params['keyword'];