fix lint error with projects list route

This commit is contained in:
John Mitchell 2018-09-20 11:57:55 -04:00
parent 92ac3054c6
commit 110671532d
No known key found for this signature in database
GPG Key ID: FE6A9B5BD4EB5C94

View File

@ -54,16 +54,15 @@ export default {
}
],
ConfigData: ['ConfigService', 'ProcessErrors',
function (ConfigService, ProcessErrors) {
return ConfigService.getConfig()
.then(response => response)
.catch(({ data, status }) => {
ProcessErrors(null, data, status, null, {
hdr: 'Error!',
msg: `Failed to get config. GET returned status: status: ${status}`,
});
(ConfigService, ProcessErrors) => ConfigService
.getConfig()
.then(response => response)
.catch(({ data, status }) => {
ProcessErrors(null, data, status, null, {
hdr: 'Error!',
msg: `Failed to get config. GET returned status: status: ${status}`,
});
}],
})],
Dataset: [
'$stateParams',
'Wait',