mirror of
https://github.com/ansible/awx.git
synced 2026-02-24 14:36:00 -03:30
Fix linting error
This commit is contained in:
@@ -44,7 +44,7 @@ class AddResourceRole extends React.Component {
|
|||||||
|
|
||||||
if (selectedIndex > -1) {
|
if (selectedIndex > -1) {
|
||||||
selectedResourceRows.splice(selectedIndex, 1);
|
selectedResourceRows.splice(selectedIndex, 1);
|
||||||
let stateToUpdate = { selectedResourceRows };
|
const stateToUpdate = { selectedResourceRows };
|
||||||
if (selectedResourceRows.length === 0) {
|
if (selectedResourceRows.length === 0) {
|
||||||
stateToUpdate.maxEnabledStep = currentStepId;
|
stateToUpdate.maxEnabledStep = currentStepId;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user