From 90d4d9b5f5c3a2d90a5c1c28dfe45b6887f299f5 Mon Sep 17 00:00:00 2001 From: Phil Hughes Date: Mon, 8 Jan 2018 14:31:39 +0000 Subject: [PATCH] Added import:fogbugz:new_user_map import to dispatcher --- app/assets/javascripts/dispatcher.js | 2 +- .../javascripts/pages/import/fogbugz/new_user_map/index.js | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 app/assets/javascripts/pages/import/fogbugz/new_user_map/index.js diff --git a/app/assets/javascripts/dispatcher.js b/app/assets/javascripts/dispatcher.js index f9e37926509..816fbb5b98e 100644 --- a/app/assets/javascripts/dispatcher.js +++ b/app/assets/javascripts/dispatcher.js @@ -550,7 +550,7 @@ import Activities from './activities'; import('./pages/snippets/show').then(m => m.default()).catch(fail); break; case 'import:fogbugz:new_user_map': - new UsersSelect(); + import('./pages/import/fogbugz/new_user_map').then(m => m.default()).catch(fail); break; case 'profiles:personal_access_tokens:index': case 'admin:impersonation_tokens:index': diff --git a/app/assets/javascripts/pages/import/fogbugz/new_user_map/index.js b/app/assets/javascripts/pages/import/fogbugz/new_user_map/index.js new file mode 100644 index 00000000000..5defea104d4 --- /dev/null +++ b/app/assets/javascripts/pages/import/fogbugz/new_user_map/index.js @@ -0,0 +1,3 @@ +import UsersSelect from '../../../../users_select'; + +export default () => new UsersSelect();