Commit 9c5ba799 authored by Jacob Schatz's avatar Jacob Schatz

Merge branch 'fix-callback-alignments' into 'master'

Fix callback alignments

See merge request gitlab-org/gitlab-ce!16596
parents 10a246b6 9e580fb9
...@@ -122,7 +122,9 @@ import SearchAutocomplete from './search_autocomplete'; ...@@ -122,7 +122,9 @@ import SearchAutocomplete from './search_autocomplete';
.catch(fail); .catch(fail);
break; break;
case 'dashboard:todos:index': case 'dashboard:todos:index':
import('./pages/dashboard/todos/index').then(callDefault).catch(fail); import('./pages/dashboard/todos/index')
.then(callDefault)
.catch(fail);
break; break;
case 'admin:jobs:index': case 'admin:jobs:index':
import('./pages/admin/jobs/index') import('./pages/admin/jobs/index')
...@@ -482,13 +484,19 @@ import SearchAutocomplete from './search_autocomplete'; ...@@ -482,13 +484,19 @@ import SearchAutocomplete from './search_autocomplete';
break; break;
case 'ci:lints:create': case 'ci:lints:create':
case 'ci:lints:show': case 'ci:lints:show':
import('./pages/ci/lints').then(m => m.default()).catch(fail); import('./pages/ci/lints')
.then(callDefault)
.catch(fail);
break; break;
case 'users:show': case 'users:show':
import('./pages/users/show').then(callDefault).catch(fail); import('./pages/users/show')
.then(callDefault)
.catch(fail);
break; break;
case 'admin:conversational_development_index:show': case 'admin:conversational_development_index:show':
import('./pages/admin/conversational_development_index/show').then(m => m.default()).catch(fail); import('./pages/admin/conversational_development_index/show')
.then(callDefault)
.catch(fail);
break; break;
case 'snippets:show': case 'snippets:show':
import('./pages/snippets/show') import('./pages/snippets/show')
...@@ -496,7 +504,9 @@ import SearchAutocomplete from './search_autocomplete'; ...@@ -496,7 +504,9 @@ import SearchAutocomplete from './search_autocomplete';
.catch(fail); .catch(fail);
break; break;
case 'import:fogbugz:new_user_map': case 'import:fogbugz:new_user_map':
import('./pages/import/fogbugz/new_user_map').then(m => m.default()).catch(fail); import('./pages/import/fogbugz/new_user_map')
.then(callDefault)
.catch(fail);
break; break;
case 'profiles:personal_access_tokens:index': case 'profiles:personal_access_tokens:index':
import('./pages/profiles/personal_access_tokens') import('./pages/profiles/personal_access_tokens')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment