diff --git a/frontend/src/app/components/docs/api-docs.component.html b/frontend/src/app/components/docs/api-docs.component.html index e043064db..f056d1aeb 100644 --- a/frontend/src/app/components/docs/api-docs.component.html +++ b/frontend/src/app/components/docs/api-docs.component.html @@ -4,7 +4,7 @@
- +
@@ -26,7 +26,7 @@
- {{ item.title }} {{ item.category }} + {{ item.title }} {{ item.category }}
Endpoint
diff --git a/frontend/src/app/components/docs/api-docs.component.ts b/frontend/src/app/components/docs/api-docs.component.ts index 706d05fdb..d61d1ce95 100644 --- a/frontend/src/app/components/docs/api-docs.component.ts +++ b/frontend/src/app/components/docs/api-docs.component.ts @@ -72,7 +72,7 @@ export class ApiDocsComponent implements OnInit { }); } - scrollSameId( event: any ) { + anchorLinkClick( event: any ) { const targetId = event.target.hash.substring(1); if( this.route.snapshot.fragment === targetId ) { document.getElementById( targetId ).scrollIntoView();