Merge "Fix ESLint warnings"

This commit is contained in:
Zuul 2022-09-29 17:40:34 +00:00 committed by Gerrit Code Review
commit 4a1b775c49
10 changed files with 10 additions and 21 deletions

View File

@ -57,9 +57,7 @@
return list.filter(matchesId).length === 1;
function matchesId(action) {
if (action.id === value) {
return true;
}
return action.id === value;
}
}

View File

@ -56,9 +56,7 @@
return list.filter(matchesId).length === 1;
function matchesId(action) {
if (action.id === value) {
return true;
}
return action.id === value;
}
}

View File

@ -56,9 +56,7 @@
return list.filter(matchesId).length === 1;
function matchesId(action) {
if (action.id === value) {
return true;
}
return action.id === value;
}
}

View File

@ -57,9 +57,7 @@
return list.filter(matchesId).length === 1;
function matchesId(action) {
if (action.id === value) {
return true;
}
return action.id === value;
}
}

View File

@ -147,6 +147,7 @@
if (result.pass.length > 0) {
return deleteModal.open(scope, result.pass.map(getEntity), context).then(deleteResult);
}
return null;
}
function deleteItem(id) {

View File

@ -59,9 +59,7 @@
return list.filter(matchesId).length === 1;
function matchesId(action) {
if (action.id === value) {
return true;
}
return action.id === value;
}
}

View File

@ -364,6 +364,7 @@
if (['ACTIVE', 'ERROR'].indexOf(response.data.provisioning_status) < 0) {
return $q.reject();
}
return null;
});
}
}

View File

@ -57,9 +57,7 @@
return list.filter(matchesId).length === 1;
function matchesId(action) {
if (action.id === value) {
return true;
}
return action.id === value;
}
}

View File

@ -57,9 +57,7 @@
return list.filter(matchesId).length === 1;
function matchesId(action) {
if (action.id === value) {
return true;
}
return action.id === value;
}
}

View File

@ -107,6 +107,7 @@
$rootScope.$broadcast(events.ACTION_DONE);
return args.handle(response);
}
return null;
}
}