diff options
Diffstat (limited to 'server/sonar-web/src/main/js/apps/issues/facets/language-facet.js')
-rw-r--r-- | server/sonar-web/src/main/js/apps/issues/facets/language-facet.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/issues/facets/language-facet.js b/server/sonar-web/src/main/js/apps/issues/facets/language-facet.js index ab9b6671c0e..7fb91eca821 100644 --- a/server/sonar-web/src/main/js/apps/issues/facets/language-facet.js +++ b/server/sonar-web/src/main/js/apps/issues/facets/language-facet.js @@ -50,7 +50,7 @@ export default CustomValuesFacet.extend({ results (data) { return { more: false, - results: data.languages.map(function (lang) { + results: data.languages.map(lang => { return { id: lang.key, text: lang.name }; }) }; @@ -62,7 +62,7 @@ export default CustomValuesFacet.extend({ getValuesWithLabels () { const values = this.model.getValues(); const source = this.options.app.facets.languages; - values.forEach(function (v) { + values.forEach(v => { const key = v.val; let label = null; if (key) { |