diff options
author | Constance Okoghenun <cokoghenun@gitlab.com> | 2018-01-11 12:21:19 +0100 |
---|---|---|
committer | Constance Okoghenun <cokoghenun@gitlab.com> | 2018-01-11 12:21:19 +0100 |
commit | 7d0a1285a10fcb4735c20e21d83367159402a06d (patch) | |
tree | 09853b8f9b05218f059fe3dc85f91dfc059dcf89 | |
parent | 5d58766fdca12fc1db0d99a3807d89f2f229ea68 (diff) | |
download | gitlab-ce-7d0a1285a10fcb4735c20e21d83367159402a06d.tar.gz |
Removed experimental feature flag unsed depenecy for profiles/preferences
-rw-r--r-- | app/assets/javascripts/dispatcher.js | 9 | ||||
-rw-r--r-- | app/assets/javascripts/pages/profiles/preferences/index.js | 3 |
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(); |