Commit 1a98ae27 authored by Clement Ho's avatar Clement Ho

Code improvements and fix bad conflict merge

parent 9e6b31eb
......@@ -262,8 +262,6 @@ import initLDAPGroupsSelect from 'ee/ldap_groups_select'; // eslint-disable-line
.then(callDefault)
.catch(fail);
break;
case 'dashboard:projects:index':
case 'dashboard:projects:starred':
case 'admin:projects:index':
new ProjectsList();
break;
......
import ProjectsList from '~/projects_list';
export default function () {
new ProjectsList(); // eslint-disable-line no-new
}
export default () => new ProjectsList();
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