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