aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/coffee/component-viewer/header/duplications-header.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/coffee/component-viewer/header/duplications-header.coffee')
-rw-r--r--server/sonar-web/src/main/coffee/component-viewer/header/duplications-header.coffee4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/coffee/component-viewer/header/duplications-header.coffee b/server/sonar-web/src/main/coffee/component-viewer/header/duplications-header.coffee
index 94d72056bf7..8722adf27d8 100644
--- a/server/sonar-web/src/main/coffee/component-viewer/header/duplications-header.coffee
+++ b/server/sonar-web/src/main/coffee/component-viewer/header/duplications-header.coffee
@@ -17,4 +17,6 @@ define [
'click .js-filter-duplications': 'filterByDuplications'
- filterByDuplications: (e) -> @header.filterLines e, 'filterByDuplications' \ No newline at end of file
+ filterByDuplications: (e) ->
+ @header.filterLines e, 'filterByDuplications'
+ @state.set 'activeHeaderItem', '.js-filter-duplications'