Merge "Fix ESLint warnings"
This commit is contained in:
commit
4a1b775c49
@ -57,9 +57,7 @@
|
||||
return list.filter(matchesId).length === 1;
|
||||
|
||||
function matchesId(action) {
|
||||
if (action.id === value) {
|
||||
return true;
|
||||
}
|
||||
return action.id === value;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -56,9 +56,7 @@
|
||||
return list.filter(matchesId).length === 1;
|
||||
|
||||
function matchesId(action) {
|
||||
if (action.id === value) {
|
||||
return true;
|
||||
}
|
||||
return action.id === value;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -56,9 +56,7 @@
|
||||
return list.filter(matchesId).length === 1;
|
||||
|
||||
function matchesId(action) {
|
||||
if (action.id === value) {
|
||||
return true;
|
||||
}
|
||||
return action.id === value;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -57,9 +57,7 @@
|
||||
return list.filter(matchesId).length === 1;
|
||||
|
||||
function matchesId(action) {
|
||||
if (action.id === value) {
|
||||
return true;
|
||||
}
|
||||
return action.id === value;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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) {
|
||||
|
@ -59,9 +59,7 @@
|
||||
return list.filter(matchesId).length === 1;
|
||||
|
||||
function matchesId(action) {
|
||||
if (action.id === value) {
|
||||
return true;
|
||||
}
|
||||
return action.id === value;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -364,6 +364,7 @@
|
||||
if (['ACTIVE', 'ERROR'].indexOf(response.data.provisioning_status) < 0) {
|
||||
return $q.reject();
|
||||
}
|
||||
return null;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
@ -57,9 +57,7 @@
|
||||
return list.filter(matchesId).length === 1;
|
||||
|
||||
function matchesId(action) {
|
||||
if (action.id === value) {
|
||||
return true;
|
||||
}
|
||||
return action.id === value;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -57,9 +57,7 @@
|
||||
return list.filter(matchesId).length === 1;
|
||||
|
||||
function matchesId(action) {
|
||||
if (action.id === value) {
|
||||
return true;
|
||||
}
|
||||
return action.id === value;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -107,6 +107,7 @@
|
||||
$rootScope.$broadcast(events.ACTION_DONE);
|
||||
return args.handle(response);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user