Skip to content

Commit 70379ee

Browse files
committed
Correctly check the behaviourType
1 parent 250045e commit 70379ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Ui/view/base/web/js/form/components/insert-listing.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ define([
155155
updateExternalValueByEditableData: function () {
156156
var updatedExtValue;
157157

158-
if (!this.behaviourType === 'edit' || _.isEmpty(this.editableData) || _.isEmpty(this.externalValue())) {
158+
if (!(this.behaviourType === 'edit') || _.isEmpty(this.editableData) || _.isEmpty(this.externalValue())) {
159159
return;
160160
}
161161

0 commit comments

Comments
 (0)