Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Ebuson committed Dec 30, 2021
1 parent 0d493b5 commit d9acef6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kahuna/public/js/search/results.js
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ results.controller('SearchResultsCtrl', [

$scope.$on("events:batch-operations:start", (e, entry) => {
ctrl.batchOperations = [entry, ...ctrl.batchOperations];
if(entry.key === "peopleInImage" && ctrl.batchOperations.length > 1){
if (entry.key === "peopleInImage" && ctrl.batchOperations.length > 1){
ctrl.batchOperations = [Object.assign({}, entry, { total: ctrl.batchOperations.length })]
}

Expand Down

0 comments on commit d9acef6

Please sign in to comment.