From 142566f4f9157f2acf3ca7e99a58e3609461f442 Mon Sep 17 00:00:00 2001 From: hunicus <93150691+hunicus@users.noreply.github.com> Date: Sat, 12 Mar 2022 16:07:45 -0500 Subject: [PATCH] Rename method Method scope widened in #1354. Changing its name here to avoid merge conflicts later. --- frontend/src/app/components/docs/api-docs.component.html | 4 ++-- frontend/src/app/components/docs/api-docs.component.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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();