summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2016-11-21 15:04:16 -0500
committerAlfredo Sumaran <alfredo@gitlab.com>2016-11-21 15:04:16 -0500
commit9402def747f22e77c0759b6136aa5ec96d177278 (patch)
treedbaad72202a53832405848f63bc1d30f6e98a010 /app
parentff1e2dd47819340ba6c7cd67df3d3479a4f063dc (diff)
downloadgitlab-ce-9402def747f22e77c0759b6136aa5ec96d177278.tar.gz
Keep the cookie name as before
This is to avoid prompting the same dialog for people who already dismissed the dialog.
Diffstat (limited to 'app')
-rw-r--r--app/assets/javascripts/cycle_analytics/cycle_analytics_bundle.js.es64
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/cycle_analytics/cycle_analytics_bundle.js.es6 b/app/assets/javascripts/cycle_analytics/cycle_analytics_bundle.js.es6
index 0a20708dee9..eb73e8a99ac 100644
--- a/app/assets/javascripts/cycle_analytics/cycle_analytics_bundle.js.es6
+++ b/app/assets/javascripts/cycle_analytics/cycle_analytics_bundle.js.es6
@@ -2,7 +2,7 @@
//= require_tree .
$(() => {
- const OVERVIEW_DIALOG_COOKIE = 'ca_overview_dialog_dismissed';
+ const OVERVIEW_DIALOG_COOKIE = 'cycle_analytics_help_dismissed';
const cycleAnalyticsEl = document.querySelector('#cycle-analytics');
const cycleAnalyticsStore = gl.cycleAnalytics.CycleAnalyticsStore;
const cycleAnalyticsService = new gl.cycleAnalytics.CycleAnalyticsService({
@@ -29,7 +29,7 @@ $(() => {
components: {
'stage-issue-component': gl.cycleAnalytics.StageIssueComponent,
'stage-plan-component': gl.cycleAnalytics.StagePlanComponent,
- 'stage-code-component': gl.cycleAnalytics.StageCodeComponent,
+ 'stage-code-component': gl .cycleAnalytics.StageCodeComponent,
'stage-test-component': gl.cycleAnalytics.StageTestComponent,
'stage-review-component': gl.cycleAnalytics.StageReviewComponent,
'stage-staging-component': gl.cycleAnalytics.StageStagingComponent,