Skip to content
Snippets Groups Projects
Verified Commit 0e50e9d9 authored by Mike Greiling's avatar Mike Greiling
Browse files

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

parent 58b8b807
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -111,6 +111,8 @@ import Activities from './activities';
return false;
}
 
const fail = () => Flash('Error loading dynamic module');
path = page.split(':');
shortcut_handler = null;
 
Loading
Loading
@@ -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();
Loading
Loading
import UserCallout from '~/user_callout';
export default () => new UserCallout();
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment