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.
1 parent cf3e371 commit c32cd20Copy full SHA for c32cd20
app/code/Magento/Ui/view/base/web/js/grid/controls/bookmarks/bookmarks.js
@@ -104,12 +104,10 @@ define([
104
initDefaultView: function () {
105
var data = this.getViewData(this.defaultIndex);
106
107
- if (!_.size(data)) {
108
- if (this.current.columns && this.current.positions) {
+ if (!_.size(data) && (this.current.columns && this.current.positions)) {
109
this.setViewData(this.defaultIndex, this.current)
110
.saveView(this.defaultIndex);
111
this.defaultDefined = true;
112
- }
113
}
114
115
return this;
0 commit comments