diff options
author | Mike Greiling <mgreiling@gitlab.com> | 2017-08-04 11:07:05 +0300 |
---|---|---|
committer | Clement Ho <clemmakesapps@gmail.com> | 2017-08-04 11:07:05 +0300 |
commit | 7256626d6023869fac7ffdcfe3d291b76fb19e64 (patch) | |
tree | 2234178ec35755eedce1b4251b7bdbe05ad7ff1f /app/assets/javascripts/cycle_analytics | |
parent | fe5086c28f4ff979184c3dc9945a599ce7ecf8b2 (diff) |
Remove monkey-patched Array.prototype.first() and last() methods
Diffstat (limited to 'app/assets/javascripts/cycle_analytics')
-rw-r--r-- | app/assets/javascripts/cycle_analytics/cycle_analytics_bundle.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/cycle_analytics/cycle_analytics_bundle.js b/app/assets/javascripts/cycle_analytics/cycle_analytics_bundle.js index 44791a93936..6583e471a48 100644 --- a/app/assets/javascripts/cycle_analytics/cycle_analytics_bundle.js +++ b/app/assets/javascripts/cycle_analytics/cycle_analytics_bundle.js @@ -92,7 +92,7 @@ $(() => { }); }, selectDefaultStage() { - const stage = this.state.stages.first(); + const stage = this.state.stages[0]; this.selectStage(stage); }, selectStage(stage) { |