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

View File

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