mirror of
https://github.com/ansible/awx.git
synced 2026-03-08 05:01:09 -02:30
fix lint error with projects list route
This commit is contained in:
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user