From 110671532d8088eb73786a571dcb15cd87f9ac1b Mon Sep 17 00:00:00 2001 From: John Mitchell Date: Thu, 20 Sep 2018 11:57:55 -0400 Subject: [PATCH] fix lint error with projects list route --- .../projects/routes/projectsList.route.js | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/awx/ui/client/features/projects/routes/projectsList.route.js b/awx/ui/client/features/projects/routes/projectsList.route.js index 2f83a7171f..d89b80c3f1 100644 --- a/awx/ui/client/features/projects/routes/projectsList.route.js +++ b/awx/ui/client/features/projects/routes/projectsList.route.js @@ -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',