We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b60f784 + 134e2ef commit c87569fCopy full SHA for c87569f
app/code/Magento/Ui/view/base/web/js/grid/columns/actions.js
@@ -15,6 +15,7 @@ define([
15
defaults: {
16
bodyTmpl: 'ui/grid/cells/actions',
17
actions: [],
18
+ rows: [],
19
templates: {
20
actions: {}
21
},
@@ -172,11 +173,11 @@ define([
172
173
var args = [action.index, action.recordId, action],
174
callback = action.callback;
175
- if (_.isObject(callback)) {
176
+ if (utils.isObject(callback)) {
177
args.unshift(callback.target);
178
179
callback = registry.async(callback.provider);
- } else if (!_.isFunction(callback)) {
180
+ } else if (typeof callback != 'function') {
181
callback = this.defaultCallback.bind(this);
182
}
183
0 commit comments