aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/issues/utils.ts
diff options
context:
space:
mode:
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.ts1
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) {