Fixed linting errors

This commit is contained in:
mabashian
2018-03-29 15:15:47 -04:00
parent 2ccbf5a817
commit 1cf8e3cc20

View File

@@ -101,8 +101,7 @@ function atRelaunchCtrl (
}; };
}); });
} else { } else {
const launchParams = {
let launchParams = {
id: vm.job.id, id: vm.job.id,
}; };
@@ -113,11 +112,11 @@ function atRelaunchCtrl (
} }
jobObj.postRelaunch(launchParams) jobObj.postRelaunch(launchParams)
.then((launchRes) => { .then((launchRes) => {
if (!$state.includes('jobs')) { if (!$state.includes('jobs')) {
$state.go('jobResult', { id: launchRes.data.id }, { reload: true }); $state.go('jobResult', { id: launchRes.data.id }, { reload: true });
} }
}); });
} }
}); });
}; };