Skip to content

Commit c87569f

Browse files
author
Denys Rul
committed
Merge branch 'PR-stories' of https://github.corp.ebay.com/magento-vanilla/magento2ce into PR
2 parents b60f784 + 134e2ef commit c87569f

File tree

1 file changed

+3
-2
lines changed
  • app/code/Magento/Ui/view/base/web/js/grid/columns

1 file changed

+3
-2
lines changed

app/code/Magento/Ui/view/base/web/js/grid/columns/actions.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ define([
1515
defaults: {
1616
bodyTmpl: 'ui/grid/cells/actions',
1717
actions: [],
18+
rows: [],
1819
templates: {
1920
actions: {}
2021
},
@@ -172,11 +173,11 @@ define([
172173
var args = [action.index, action.recordId, action],
173174
callback = action.callback;
174175

175-
if (_.isObject(callback)) {
176+
if (utils.isObject(callback)) {
176177
args.unshift(callback.target);
177178

178179
callback = registry.async(callback.provider);
179-
} else if (!_.isFunction(callback)) {
180+
} else if (typeof callback != 'function') {
180181
callback = this.defaultCallback.bind(this);
181182
}
182183

0 commit comments

Comments
 (0)