Skip to content

Commit c23393d

Browse files
committed
Fix error when open grid with opened preview
1 parent f070206 commit c23393d

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/columns/image-preview.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ define([
101101
show: function (record) {
102102
var img;
103103

104-
if (record._rowIndex === this.lastOpenedImage()
104+
if (record._rowIndex === this.visibleRecord()
105105
&& this.isVisible(record)) {
106106
this.hide();
107107
return;

0 commit comments

Comments
 (0)