Skip to content

Commit 4f5984f

Browse files
SUPESC-521 Fixed adding length attribute to product (#9331)
SUPESC-521 Fixed adding `length` attribute to product
1 parent f179fd1 commit 4f5984f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

assets/Zed/js/modules/product-attribute.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,9 @@ function AttributeManager() {
174174
};
175175

176176
_attributeManager.resetRemovedKey = function (key) {
177-
delete _attributeManager.removedKeys[key];
177+
_attributeManager.removedKeys = _attributeManager.removedKeys.filter(function (removedKey) {
178+
return removedKey !== key;
179+
});
178180
};
179181

180182
_attributeManager.resetRemovedKeysCache = function () {

0 commit comments

Comments
 (0)