summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConstance Okoghenun <cokoghenun@gitlab.com>2018-01-11 12:21:19 +0100
committerConstance Okoghenun <cokoghenun@gitlab.com>2018-01-11 12:21:19 +0100
commit7d0a1285a10fcb4735c20e21d83367159402a06d (patch)
tree09853b8f9b05218f059fe3dc85f91dfc059dcf89
parent5d58766fdca12fc1db0d99a3807d89f2f229ea68 (diff)
downloadgitlab-ce-7d0a1285a10fcb4735c20e21d83367159402a06d.tar.gz
Removed experimental feature flag unsed depenecy for profiles/preferences
-rw-r--r--app/assets/javascripts/dispatcher.js9
-rw-r--r--app/assets/javascripts/pages/profiles/preferences/index.js3
2 files changed, 3 insertions, 9 deletions
diff --git a/app/assets/javascripts/dispatcher.js b/app/assets/javascripts/dispatcher.js
index 40c4a563db9..206f5bfaa6e 100644
--- a/app/assets/javascripts/dispatcher.js
+++ b/app/assets/javascripts/dispatcher.js
@@ -156,11 +156,6 @@ import Activities from './activities';
const filteredSearchEnabled = gl.FilteredSearchManager && document.querySelector('.filtered-search');
switch (page) {
- case 'profiles:preferences:show':
- import('./pages/profiles/preferences')
- .then(callDefault)
- .catch(fail);
- break;
case 'sessions:new':
new UsernameValidator();
new SigninTabsMemoizer();
@@ -512,7 +507,9 @@ import Activities from './activities';
new BlobViewer();
break;
case 'help:index':
- import('./pages/help').then(module => module.default()).catch(fail);
+ import('./pages/help')
+ .then(callDefault)
+ .catch(fail);
break;
case 'search:show':
new Search();
diff --git a/app/assets/javascripts/pages/profiles/preferences/index.js b/app/assets/javascripts/pages/profiles/preferences/index.js
deleted file mode 100644
index bc399bb7138..00000000000
--- a/app/assets/javascripts/pages/profiles/preferences/index.js
+++ /dev/null
@@ -1,3 +0,0 @@
-import initExperimentalFlags from '../../../experimental_flags';
-
-export default () => initExperimentalFlags();