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