Commit 0e50e9d9 authored by Mike Greiling's avatar Mike Greiling

update dispatcher to allow for dynamic imports until webpack plugin is updated

parent 58b8b807
......@@ -111,6 +111,8 @@ import Activities from './activities';
return false;
}
const fail = () => Flash('Error loading dynamic module');
path = page.split(':');
shortcut_handler = null;
......@@ -545,7 +547,7 @@ import Activities from './activities';
new CILintEditor();
break;
case 'users:show':
new UserCallout();
import('./pages/users/show').then(m => m.default()).catch(fail);
break;
case 'admin:conversational_development_index:show':
new UserCallout();
......
import UserCallout from '~/user_callout';
export default () => new UserCallout();
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