mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 10:30:03 -03:30
fix lint error with projects list route
This commit is contained in:
parent
92ac3054c6
commit
110671532d
@ -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',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user