diff options
author | Ruben Davila <rdavila84@gmail.com> | 2017-05-04 05:05:38 +0300 |
---|---|---|
committer | Ruben Davila <rdavila84@gmail.com> | 2017-05-04 05:08:43 +0300 |
commit | dbd1bdaeed596f14af89d662e73030bb02571cfd (patch) | |
tree | 16712553353aa5f4f43997863357da9fd0347ce9 /app/assets/javascripts/cycle_analytics/cycle_analytics_store.js | |
parent | b7f01f2b18940eb8dc0fa30e8ebbf1784c864304 (diff) |
More updates for translations plus some refactoring.
Diffstat (limited to 'app/assets/javascripts/cycle_analytics/cycle_analytics_store.js')
-rw-r--r-- | app/assets/javascripts/cycle_analytics/cycle_analytics_store.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/cycle_analytics/cycle_analytics_store.js b/app/assets/javascripts/cycle_analytics/cycle_analytics_store.js index 1c574951211..50bd394e90e 100644 --- a/app/assets/javascripts/cycle_analytics/cycle_analytics_store.js +++ b/app/assets/javascripts/cycle_analytics/cycle_analytics_store.js @@ -39,7 +39,7 @@ global.cycleAnalytics.CycleAnalyticsStore = { }); newData.stages.forEach((item) => { - const stageSlug = gl.text.dasherize(item.title.toLowerCase()); + const stageSlug = gl.text.dasherize(item.name.toLowerCase()); item.active = false; item.isUserAllowed = data.permissions[stageSlug]; item.emptyStageText = EMPTY_STAGE_TEXTS[stageSlug]; |