diff options
Diffstat (limited to 'server/sonar-web/src/main/js/apps/issues/utils.ts')
-rw-r--r-- | server/sonar-web/src/main/js/apps/issues/utils.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/apps/issues/utils.ts b/server/sonar-web/src/main/js/apps/issues/utils.ts index 2ace6b60664..d7266b3d8fe 100644 --- a/server/sonar-web/src/main/js/apps/issues/utils.ts +++ b/server/sonar-web/src/main/js/apps/issues/utils.ts @@ -236,6 +236,7 @@ export function allLocationsEmpty( return getLocations(issue, selectedFlowIndex).every(location => !location.msg); } +// TODO: drop as it's useless now export function scrollToIssue(issue: string, smooth = true) { const element = document.querySelector(`[data-issue="${issue}"]`); if (element) { |