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