Skip to content

Commit 7461439

Browse files
author
ikk0
committed
Typo in addAction function: _.findIdnex should be .findIndex, fixes unresolved function
1 parent b0372d6 commit 7461439

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Ui/view/base/web/js/grid/massactions.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ define([
9898
*/
9999
addAction: function (action) {
100100
var actions = this.actions(),
101-
index = _.findIdnex(actions, {
101+
index = _.findIndex(actions, {
102102
type: action.type
103103
});
104104

0 commit comments

Comments
 (0)